home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Multimedia Toolbook 4.0 (CBT Edition) / Asymetric Multimedia Toolbook 4.0 (CBT Edition).iso / ctb40sm.z / DIALOG.TBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1995-11-13  |  277KB  |  4,940 lines

  1. z$bq}d
  2. s_CurrentCursor
  3. This editor requires the authoring version of ToolBook.
  4. windowList
  5. s_dialogWindow
  6. ToolBar
  7. oinitDLLs
  8. initEditor
  9. Dialog
  10. newDialog
  11. enterApplication
  12. group
  13. group
  14. s_Browse
  15. command
  16. s_Browse
  17. rightbuttonDown
  18. -%,    7
  19. s_dialogWindow
  20. , 0,0,0,bold
  21. FChooseFontDlg
  22. newFont
  23. oldSelection
  24. forceExists,noGDI,noVector,screen
  25. s_DialogTemplate
  26. character
  27. reader
  28. dialog.hlp
  29. dlg_WinHelp
  30. contents
  31. contents
  32. +    ,    /
  33. -%,    7
  34. +    ,    /
  35. objList
  36. button
  37. group
  38. s_dlgBaseUnits
  39. rs_dlgBaseUnits
  40. ToolPalette
  41. ToolBar
  42. MS Sans Serif
  43. dlg_disable
  44. s_DialogTemplate
  45. resName
  46. initEditor
  47. CreateFontIndirect
  48. dlg_CreateFontIndirect
  49. SelectObject
  50. dlg_SelectObject
  51. getTextExtent
  52. dlg_getTextExtent
  53. DeleteObject
  54. dlg_DeleteObject
  55. getDC
  56. dlg_getDC
  57. ReleaseDC
  58. dlg_ReleaseDC
  59. DestroyIcon
  60. dlg_DestroyIcon
  61. SendMessage
  62. dlg_SendMessage
  63. WinHelp
  64. dlg_WinHelp
  65. GlobalHandle
  66. dlg_GlobalHandle
  67. GlobalAlloc
  68. dlg_GlobalAlloc
  69. GlobalLock
  70. dlg_GlobalLock
  71. ,$UH5
  72. GlobalUnlock
  73. dlg_GlobalUnlock
  74. GlobalFree
  75. dlg_GlobalFree
  76. dialog
  77. getValue
  78. SetValue
  79. ,    UC,
  80. dialogCallback
  81. ,    UCn#
  82. OpenFileDlg
  83. SaveAsDlg
  84. chooseFontDlg
  85. setBitmapData
  86. setIconData
  87. enableControl
  88. setControlText
  89. getControlText
  90. kernel
  91. tb40dlg.dll
  92. initDLLs
  93. s_dialogWindow
  94. s_Dirty
  95. Save current changes?
  96. saveDialog
  97. checkSave
  98. s_dialogWindow
  99. initViewer
  100. s_Browse
  101. Toolbar
  102. browse
  103. +++V!8
  104. s_dialogWindow
  105. FALSE
  106. clearDialog
  107. checkSave
  108. newDialog
  109. +    ,    #>
  110. +    ,    #
  111. +    ,    #
  112. ,&H.&
  113. +    ,    #?
  114. +    ,    #>
  115. +    ,    #>
  116. +    ,    #?
  117. +    ,    !
  118. +    ,    !
  119. +    ,    !
  120. +    ,    #>
  121. +++V!8
  122. propList
  123. kgetValue
  124. No dialog templates were found in Book
  125. s_CurrentCursor
  126. initialValues
  127. currProp
  128. s_currentFile
  129. Dialog template (*.DIA),*.DIA,ToolBook Book (*.TBK),*.TBK,SysBook (*.SBK),*.SBK
  130. showDialog
  131. of book
  132. vsetValue
  133. propList
  134. s_dialogWindow
  135. s_CurrentCursor
  136. initialValues
  137. currProp
  138. s_currentFile
  139. newCaption
  140. dialogTemplate
  141. retVal
  142. initProp
  143. templateName
  144. tempList
  145. buildFrame
  146. checkClear
  147. File is empty.
  148. OpenFileDlg
  149. LoadTemplateBOX
  150. ToolBar
  151. newCaption
  152. dialogTemplate
  153. dialogName
  154. listbox templates
  155. LoadTemplateInit
  156. checkSave
  157. initProp
  158. buildItems
  159. targetBook
  160. ToolBook Dialog Editor - 
  161. dialog
  162. s_dialogWindow
  163. OpenDialog
  164. s_currentFile
  165. -SaveDIA
  166. saveAsDlg
  167. Dialog Template (*.DIA), *.DIA
  168. saveDialog
  169. Save as
  170. s_currentFile
  171. -SaveDIA
  172. saveAsDlg
  173. Dialog Template (*.DIA), *.DIA
  174. saveDialogAs
  175. +    ,    !
  176. +    ,    !;
  177. +    ,    !;
  178. +    ,    !;
  179. +    ,    !
  180. +    ,    #>
  181. ToolBook Dialog Editor - 
  182. s_dialogWindow
  183. s_CurrentCursor
  184. s_currentFile
  185. buildDialogItems
  186. buildDialogHeader
  187. ToolBar
  188. s_InitialValues
  189. s_DialogTemplate
  190. SaveDIA
  191. .',    #>
  192. .',    #>
  193. w,    #>
  194. +    ,    /
  195. +    ,    /
  196. +    ,    /
  197. +    ,    /
  198. +    ,    /
  199. +    ,    /
  200. +    ,    /
  201. +    ,    /
  202. +    ,    /
  203. +    ,    /
  204. +    ,    /
  205. +    ,    /
  206. +    ,    /
  207. +    ,    /
  208. +    ,    /
  209. +    ,    /
  210. +    ,    /
  211. +    ,    /
  212. +    ,    /
  213. +    ,    /
  214. +    ,    /
  215. +    ,    /
  216. +    ,    /
  217. +    ,    /
  218. +    ,    /
  219. +    ,    /
  220. +    ,    /
  221. +    ,    /
  222. +    ,    /
  223. +    ,    /
  224. .',    #?
  225. +    ,    /
  226. +++    t
  227. |pushbuttonPropertiesInit
  228. kgetValue
  229. STATIC
  230. s_CurrentCursor
  231. button Password
  232. Bitmap Control Place Holder
  233. button true
  234. ID_OK
  235. newBMP
  236. CustomPropertiesInit
  237. .?newIcon
  238. edit Name
  239. Y%controlProperties
  240. button radio
  241. iedit ypos
  242. dialogName
  243. ID_CANCEL
  244. BitmapPropertiesInit
  245. BUTTON
  246. button scroll
  247. dialog
  248. CustomPropertiesBOX
  249. iedit xpos
  250. BITMAP
  251. oPpushbuttonPropertiesBox
  252. reader
  253. targetBook
  254. Z%controlProperties
  255. checkbox
  256. ButtonIDs
  257. comboboxPropertiesBOX
  258. button TRUE
  259. edit Caption
  260. button checkbox
  261. &ID_OK
  262. static ID
  263. bitmap
  264. vAdialogCallback
  265. iedit layer
  266. icon id
  267. staticPropertiesInit
  268. groupboxPropertiesInit
  269. checkRadioPropertiesBox
  270. bitmap current Bitmap
  271. button default
  272. listboxPropertiesBOX
  273. FALSE
  274. Button Password
  275. rectangle
  276. comboboxPropertiesInit
  277. edit caption
  278. CUSTOM
  279. center
  280. iconPropertiesBOX
  281. button discard
  282. LISTBOX
  283. edit name
  284. GROUPBOX
  285. addButtonID
  286. edit text
  287. edit items
  288. /?newIcon
  289. button single
  290. newBmp
  291. vsetValue
  292. button sort
  293. iedit dropDownLength
  294. edit className
  295. button accept
  296. s_dialogWindow
  297. fdialogPropertiesBOX
  298. removeButtonID
  299. Group
  300. 9checkRadioPropertiesInit
  301. EDIT Name
  302. groupBoxPropertiesBOX
  303. icon current icon
  304. COMBOBOX
  305. right
  306. button editable
  307. [EiconPropertiesInit
  308. retValue
  309. controlProperties
  310. WordWrap
  311. dialogPropertiesInit
  312. button false
  313. editPropertiesBOX
  314. combobox controlID
  315. &ID_CANCEL
  316. newBmp
  317. listboxPropertiesInit
  318. oldID
  319. edit resourceName
  320. qBitmapPropertiesBOX
  321. pushbutton
  322. edit Items
  323. dialogName
  324. iedit style
  325. &CeditPropertiesInit
  326. iedit Layer
  327. ctrlID
  328. o{staticPropertiesBOX
  329. Properties
  330. ,&H.&
  331. buttonIDs
  332. buttonIDs
  333. removeButtonID
  334. ,&H.&
  335. FALSE
  336. buttonIDs
  337. buttonIDs
  338. addButtonID
  339. s_dialogWindow
  340. 4controlState
  341. FALSE
  342. ToolBar
  343. YWMkeyUp
  344. WMkeyUp
  345. ,"J("
  346. 4controlState
  347. s_dialogWindow
  348. WMkeyDown
  349. ToolBar
  350. yDlgUnitsToPageUnits
  351. dlg_sendMessage
  352. WMkeyDown
  353. w,    #>
  354. w,    #?
  355. targetBook
  356. dialogName
  357. s_dialogWindow
  358. s_CurrentCursor
  359. s_DialogTemplate
  360. FALSE
  361. cmdString
  362. templateScript
  363. scriptMessage
  364. bFound
  365. setScript
  366. currentIcon
  367. resList
  368. s_InitialValues
  369. dialogName
  370. as userProperties of the book
  371. BOX of book targetBook of self to s_DialogTemplate;
  372. ToolBook (*.TBK), *.TBK, SysBook (*.SBK), *.SBK
  373. handler.  The handler has been placed on the clipboard
  374. FALSE
  375. has been added to the book script of that book.  To display the dialog,
  376. dialogName
  377. s_dialogWindow
  378. bFound
  379. message
  380. information
  381. *.tbk
  382. buildDialogItems
  383.  and a handler for the message show
  384. You must give the dialog a name.  Please specify a name below.
  385. verifyDialogName
  386. ;0normalScript
  387. buildDialogHeader
  388. targetBook
  389. openFileDlg
  390. Choose target book for Dialog Template...
  391. The specified file is not a book.
  392. currentIcon
  393. INIT of book targetBook of self to s_InitialValues
  394. dialogName
  395. to append the
  396. send the show
  397. .  There is not enough room in the book script of book
  398. s_InitialValues
  399. s_CurrentCursor
  400. icon id 100
  401. The dialog template and initialization values have been placed in book
  402. resList
  403. _DLGNAME_
  404. build
  405. 1,    #>
  406. ,&H.&
  407. w,    #>
  408. w,    #>
  409. w,    #?
  410. w,    #?
  411. w,    #?
  412. Enter new name for dialog.
  413. continue
  414. dialogName
  415. isViewer
  416. retValue
  417. FALSE
  418. template
  419. isTemplate
  420. of book
  421. viewer
  422. FALSE,FALSE
  423. Unable to make handler name and userProperties from dialog name.  
  424. FALSE
  425. There is already a viewer with this name in book
  426. !@#$%^&*()-,./?><;':[]{}\|=+`~
  427. There is already a dialog template with this name in book
  428. targetbook
  429.   If you continue the existing dialog template will be overwritten 
  430. &Rename
  431. verifyDialogName
  432. The Dialog name must begin with a letter.
  433. There is already a viewer and a dialog template with this name in book
  434. targetBook
  435. rename
  436.   If you continue the viewer will be added 
  437.   If you continue the template will be added 
  438. &Abort
  439.  <> null
  440. but no script will be placed in the book.
  441. BOX of book
  442. 1234567890
  443. dialogName
  444. a SPACE or a TAB
  445. TRUE,TRUE
  446.   If you continue the existing viewer will be deleted and a new one 
  447. &Continue
  448. created 
  449. ' character is not valid in handler or property names.  The Dialog name cannot contain any of the following characters:
  450. The '
  451. verifyDialogName
  452. w,    #>
  453. +    ,    /
  454. +    ,    /
  455. +    ,    /
  456. w,    #>
  457. targetBook
  458. dialogName
  459. PUSHBUTTON
  460. Z%controlProperties
  461. ToolBook (*.TBK), *.TBK, SysBook (*.SBK), *.SBK
  462. handler.  The handler has been placed on the clipboard
  463. objList
  464. s_CurrentCursor
  465. has been added to the book script of that book.  To display the dialog,
  466. dialogName
  467. Y%controlProperties
  468. s_dialogWindow
  469. message
  470. newDlgViewer
  471. Group
  472. *.tbk
  473.  and a handler for the message show
  474. controlProperties
  475. You must give the dialog a name.  Please specify a name below.
  476. verifyDialogName
  477. FALSE
  478. integerOnlyScript
  479. targetBook
  480. openFileDlg
  481. has been created in book
  482. dialog
  483. 8ViewerScript
  484. The specified file is not a book.
  485. newDlgPage
  486. trueAcceptScript
  487. The dialog Viewer
  488. dialogName
  489. to append the
  490. send the show
  491. .  There is not enough room in the book script of book
  492. falseCancelScript
  493. Choose target book for Dialog Viewer...
  494. center
  495. currentObject
  496. _DLGNAME_
  497. buildViewer
  498. aboutinit
  499. Position
  500. ToolBar
  501. UraboutBOX
  502. vAdialogCallback
  503. aboutdialog
  504. dialogHelp
  505. +++Er
  506. s_dialogWindow
  507. s_CurrentCursor
  508. buildDialogItems
  509. buildDialogHeader
  510. ToolBar
  511. Preview3D
  512. s_InitialValues
  513. s_DialogTemplate
  514. dialog
  515. ShowDialog
  516. +++Er
  517. Cancel
  518. s_dialogWindow
  519. &Cancel
  520. s_CurrentCursor
  521. Do you want to clear the existing dialog?
  522. clearDialog
  523. checkClear
  524. +++Er
  525. ToolBook Dialog Editor - <Untitled>
  526. s_dialogWindow
  527. ID_OK
  528. s_dirty
  529. showDialog
  530. ToolBar
  531. targetBook
  532. addButtonID
  533. Dialog
  534. buttonIDs
  535. dialogName
  536. ID_CANCEL
  537. clearDialog
  538. vdlg_GlobalAlloc
  539. Memory Allocation failed.  Operation Aborted.
  540. Pdlg_GlobalLock
  541. getWinPointer
  542. dlg_GlobalUnLock
  543. dlg_GlobalHandle
  544. dKdlg_GlobalFree
  545. Memory error occured.  Operation Aborted.
  546. freeWinPointer
  547. +    ,    /
  548. +    ,    /
  549. baseUnits
  550. baseUnits
  551. s_DialogTemplate
  552. dlgUnitsToPixels
  553. +    ,    /
  554. +    ,    /
  555. baseUnits
  556. baseUnits
  557. s_DialogTemplate
  558. dlgUnitsToPageUnits
  559. +    ,    /
  560. +    ,    /
  561. baseUnits
  562. baseUnits
  563. s_DialogTemplate
  564. PixelsToDlgUnits
  565. +    ,    /
  566. +    ,    /
  567. baseUnits
  568. baseUnits
  569. s_DialogTemplate
  570. pageUnitsToDlgUnits
  571. +    ,    /
  572. +    ,    /
  573. +    ,    /
  574. +    ,    /
  575. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  576. freeWinPointer
  577. $bgetWinPointer
  578. dlg_ReleaseDC
  579. s_dlgBaseUnits
  580. tdlg_getDC
  581. dlg_getTextExtent
  582. dlg_DeleteObject
  583. dlg_CreateFontIndirect
  584. dlg_SelectObject
  585. baseUnits
  586. edit resourceName
  587. getControlText
  588. AenableControl
  589. TBKDialogInit
  590. targetBook
  591. ToolBook (*.TBK), *.TBK, SysBook (*.SBK), *.SBK
  592. ICON current icon
  593. setControlText
  594. setIconData
  595. dlg_DeleteObject
  596. Bitmap
  597. *.tbk
  598. dlg_DestroyIcon
  599. targetBook
  600. openFileDlg
  601. edit resourceName
  602. You must name the selected resource.
  603. .?newIcon
  604. >setBitmapData
  605. BITMAP Current Bitmap
  606. getControlText
  607. Button Choose Icon
  608. /?newIcon
  609. AenableControl
  610. newBmp
  611. newBmp
  612. Button Choose Bitmap
  613. Choose target book for Resource...
  614. TBKDialogCommand
  615. [[[[\[[\[[[[[\[[\[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
  616. DDDDDD@
  617. DDDDDDDD@
  618. DDDDD
  619. DDDD@
  620. DDDDD
  621. DDDD@
  622. DDDDDD
  623. DDDDD
  624. DDDDDD
  625. DDDDD
  626. DDDDDD
  627. DDDDD
  628. DDDDDD
  629. DDDDD@
  630. DDDDDD
  631. DDDDD@
  632. DDDDDD
  633. DDDDD@
  634. DDDDDD
  635. DDDDD@
  636. DDDDDD
  637. DDDDD@
  638. DDDDDD
  639. DDDDD@
  640. DDDDDD
  641. DDDDD@
  642. DDDDO
  643. DDDDD@
  644. DDDDO
  645. DDDDD
  646. DDDDDDDDDDDDDD
  647. DDDDDDDDDDDDDD
  648. DDDDD
  649. DDDDD@
  650. DDDDO
  651. DDDD@
  652. wp{31
  653. ffffffff
  654. ffffffff
  655. wwwwwwwp
  656. wwwwwwwp
  657. ToolPalette
  658. button
  659. ToolPalette
  660. selectedTool
  661. buttonClick
  662. select
  663. ToolPalette
  664. enterPage
  665. --This handler sets the selected 
  666. ToolPalette 
  667. Bthat
  668. --was clicked on
  669. buttonClick
  670. selectedTool 
  671. initializes 
  672. 35,48
  673. selectChars
  674. ToolPalette
  675. select
  676. buttonPressed
  677. groupbox
  678. recTool
  679. select
  680. invertedButton
  681. select
  682. oldInvertedButton
  683. custom
  684. ctrlID
  685. checkbox
  686. ctrlID
  687. radiobutton
  688. ctrlID
  689. field
  690. ctrlID
  691. borderlessField
  692. ctrlID
  693. bitmap
  694. >    J    N
  695. ctrlID
  696. singleSelectListbox
  697. ctrlID
  698. combobox
  699. ctrlID
  700. ctrlID
  701. select
  702. ctrlID
  703. groupbox
  704. ctrlID
  705. button
  706. ctrlID
  707. ToolPalette
  708. false,false,false,false,false,true,true
  709. oldState
  710. ToolBar
  711. toolbar
  712. openDialog
  713. ctrlID
  714. wsgroup
  715. Open a dialog Template
  716. helpText
  717. saveDialog
  718. yhelpText
  719. saveDialogAs
  720. dlg_saveDialogAs
  721. saveDialog
  722. dlg_saveDialog
  723. Save the dialog under a new name
  724. Save the dialog
  725. toggleState
  726. notifyBefore toggleState isControl
  727. "saveDialogAs"
  728. onormalGraphic 
  729. bitmap "dlg_saveDialogAs"
  730. ohelpText 
  731. "Save the dialog under a 
  732. ctrlID
  733. Save the dialog
  734. helpText
  735. properties
  736. ctrlID
  737. Edit the properties of the selected control
  738. helpText
  739. character
  740. ctrlID
  741. Set the font for the dialog box
  742. helpText
  743. ctrlID
  744. Undo/Redo last action
  745. helpText
  746. ItemSelected
  747. duplicate
  748. buttonDoubleClick
  749. buttonClick
  750. ctrlID
  751. Duplicate the selected control
  752. helpText
  753. bringToFront
  754. yhelpText
  755. dlg_BringToFront
  756. dlg_disableBringToFront
  757. bringCloser
  758. dlg_bringCloser
  759. Bring the selection closer
  760. dlg_disablebringCloser
  761. Bring the selection to the front
  762. bringToFront
  763. toggleState
  764. notifyBefore toggleState isControl
  765. onormalGraphic 
  766. bitmap "dlg_bringCloser"
  767. odisabledGraphic 
  768. ,disablebringCloser"
  769. ohelpText 
  770. "Bring the 
  771. closer"
  772. BringToFront"
  773. disableBringToFront"
  774. afront"
  775. ctrlID
  776. Bring the selection to the front
  777. helpText
  778. sendToBack
  779. dlg_sendFarther
  780. dlg_disableSendFarther
  781. yhelpText
  782. sendToBack
  783. dlg_sendToBack
  784. dlg_disableSendToBack
  785. Send the selection farther
  786. Send the selection to the back
  787. sendFarther
  788. toggleState
  789. notifyBefore toggleState isControl
  790. onormalGraphic 
  791. bitmap "dlg_sendFarther"
  792. odisabledGraphic 
  793. ,disableSendFarther"
  794. ohelpText 
  795. farther"
  796. |ToBack"
  797. disableSendToBack"
  798. ctrlID
  799. Send the selection to the back
  800. helpText
  801. showDialog
  802. ctrlID
  803. Preview the dialog
  804. helpText
  805. Position
  806. controlPosition
  807. controlPosition 
  808. value
  809. Position of selected control in sialog units
  810. helpText
  811. 25,2523380952381,115.2
  812. Position
  813. TBKDialogCommand
  814. TBKDialogInit
  815. oldBar
  816. ,msgTxt
  817. ToolBar
  818. statusBar
  819. friend
  820. TBKDialogCommand
  821. TBKDialogDestroy
  822. TBKDialogInit hDlg, hWndFocus
  823.     translateWindowMessage 
  824.         on 0x0203 
  825. TBKDialogCommand 
  826. bCtrlID, hWndCtrl, msgNumber, ControlName
  827. ( = 0
  828. + bitAND 2) <> 0
  829. "ToolBar"
  830. StatusBar
  831.             oldBar = 
  832. statusBar
  833. msgTxt 
  834. ofriend)
  835. TBKDialogDestroy 
  836. field id 53
  837. friend
  838. controlPosition
  839. Position:
  840. controlSize
  841. controlSize 
  842. value
  843. Size of selected control in sialog units
  844. helpText
  845. 120 x 34646153846153858.4615384615385
  846.                                         * * * Dialog Editor version 3.0 enhancements by Jeffrey Ayars * * *
  847. msgTxt
  848. Size:::::
  849. toggleState
  850. ToolBar
  851. To save your dialog box template:
  852.     choose save... or save as ... from the file menu
  853. To use your dialog box in a book:
  854.     choose Assign Template to book... from the file menu
  855. To edit a dialog you have assigned to a book:
  856.     choose open... from the file menu
  857.     choose the book from the dialog
  858.     choose the dialog box from the listbox
  859. To edit a saved dialog box template:
  860.     choose open... from the file menu
  861.     change the filter to .dia and choose the file
  862. To edit a dialog box from a converted 1.5 book:
  863.     copy the button with the DLGBOX and DLGINIT user 
  864.     properties onto the clipboard
  865.     paste the button into the editor
  866. To resize the dialog box:
  867.     hold down the CONTROL key and resize the editor window
  868. Dialog
  869. UUUUUUUUUU
  870. UUUUUUUUUU
  871. UUUUUUUUUU
  872. UUUUUUUUUU
  873. UUUUUUP
  874. UUUUUU
  875. 868686868686868686868686868686868686868686868686868989898989898989898989898989898989898989898989898989898977777777777777777777777\[[[[[[[[[[[[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[
  876. F    &    &    K
  877. *ClassTbl*
  878. *ClassEntry*
  879. *PTABLE*
  880. *WINDOWSEG*
  881. Viewer
  882. *ICONRESTAB*
  883. *ICONRESSEG*
  884. *ICONRES*
  885. Background
  886. *OBJTABLE*
  887. *IDTABLE*
  888. *NAMETAB*
  889. Rectangle
  890. Ellipse
  891. RoundedRectangle
  892. Polygon
  893. IrregularPolygon
  894. AngledLine
  895. Curve
  896. Field
  897. RecordField
  898. ComboBox
  899. Button
  900. PaintObject
  901. Picture
  902. Hotword
  903. *RHOTWORD*
  904. Group
  905. Stage
  906. *TbxBase*
  907.     &    oup
  908. bxBase*
  909.     &    bxBase*
  910.     8    ,    
  911. B=F91<Q
  912. staticpropertiesinit
  913. <BookPath>
  914. :HDMEDIAPATH
  915. System
  916. Fo@_}
  917. MS Sans Serif
  918. System
  919. Arial
  920. MS Sans Serif
  921. comboboxpropertiesinit
  922. listboxpropertiesinit
  923. editpropertiesinit
  924. dialogpropertiesinit
  925. aboutinit
  926. ,G2687,Options
  927. EDIT Name,E235,
  928. iedit Layer,i245,
  929. iedit DropDownLength,i248,
  930. EDIT Items,E250,
  931. BUTTON sort,B270,TRUE
  932. BUTTON scroll,B18,FALSE
  933. BUTTON editable,B119,FALSE
  934. ,B1,TRUE
  935. ,B2,FALSE
  936. ,S252,Layer
  937. ,S254,Control ID:
  938. ,S251,Name
  939. ,S255,Combobox Items
  940. ,S253,Dropdown Length
  941. STATIC ID,S240,ID
  942. ,G2667,Style
  943. ,S253,Layer
  944. ,S254,Control ID:
  945. ,S252,Name
  946. ,S251,Listbox Items
  947. STATIC ID,S240,ID
  948. EDIT Name,E235,
  949. iedit Layer,i245,
  950. EDIT Items,E250,
  951. BUTTON single,B3392,FALSE
  952. ,B275,FALSE
  953. ,B280,FALSE
  954. ,B270,FALSE
  955. ,B1,TRUE
  956. ,B2,FALSE
  957. ,G4848,Justification
  958. ,S253,Layer
  959. ,S254,Control ID:
  960. ,S252,Name
  961. ,S6115,Initial Text
  962. ,S240,ID
  963. ,E235,
  964. ,i245,
  965. ,B255,FALSE
  966. ,B265,FALSE
  967. ,B260,FALSE
  968. ,E250,
  969. ,B205,FALSE
  970. ,B210,FALSE
  971. ,B215,FALSE
  972. BUTTON password,B2814,FALSE
  973. ,B220,FALSE
  974. ,B225,FALSE
  975. ,B200,FALSE
  976. ,B1,TRUE
  977. ,B2,FALSE
  978. ,G4828,Justification
  979. ,S252,Layer
  980. ,S253,Control ID
  981. ,S251,Name
  982. ,S254,Static Text
  983. ,S240,ID
  984. ,E235,
  985. ,i245,
  986. ,B255,FALSE
  987. ,B260,FALSE
  988. ,B265,FALSE
  989. ,E250,
  990. ,B270,FALSE
  991. ,B1,TRUE
  992. ,B2,FALSE
  993. iconpropertiesinit
  994. bitmapPropertiesInit
  995. LoadTemplateBOX
  996. ,S3151,Name
  997. ,S3154,Y Position
  998. ,S3155,X Position
  999. ,S2987,Caption
  1000. EDIT Name,E3152,
  1001. EDIT caption,E2988,
  1002. iedit xpos,i3156,
  1003. iedit ypos,i3157,
  1004. ,B1,TRUE
  1005. ,B2,FALSE
  1006. ,G12,
  1007. BUTTON OK,B1,TRUE
  1008. ,h6,icon "Dlg_MyAppIcon"
  1009. ,S8,All of the dialogs used in this application were created with this application and use the TB30DLG.DLL.
  1010. ,S9,Copyright 
  1011.  1991-1994 Asymetrix Corporation.
  1012. ,S10,ToolBook Dialog Editor v 3.0
  1013. edit name,e235,
  1014. edit caption,e240,
  1015. iedit layer,i250,
  1016. ,b1,TRUE
  1017. ,b2,FALSE
  1018. ,s253,Layer
  1019. ,s252,Control ID:
  1020. ,s254,Caption
  1021. static ID,s245,ID 
  1022. ,s255,Name
  1023. groupboxpropertiesinit
  1024. ,G2544,Icon
  1025. ,S2532,Name 
  1026. ,S2533,Control ID
  1027. ,S2534,Layer
  1028. STATIC ID,S2542,
  1029. ICON Current Icon,h2547,icon "default"
  1030. ,S2949,Icon Name 
  1031. EDIT Name,E2540,
  1032. iedit Layer,i2541,
  1033. EDIT resourceName,E2950,
  1034. ,B1,TRUE
  1035. ,B2,FALSE
  1036. BUTTON Choose Icon,B2543,FALSE
  1037. PushButtonPropertiesINIT
  1038. CheckRadioPropertiesBOX
  1039. CheckRadioPropertiesINIT
  1040. ,G2544,Bitmap
  1041. ,S2532,Name 
  1042. ,S2533,Control ID
  1043. ,S2534,Layer
  1044. STATIC ID,S2542,
  1045. BITMAP Current Bitmap,p2553,
  1046. EDIT Name,E2540,
  1047. iedit Layer,i2541,
  1048. ,S2964,Bitmap Name 
  1049. EDIT resourceName,E2965,
  1050. ,B1,TRUE
  1051. ,B2,FALSE
  1052. BUTTON Choose Bitmap,B2543,FALSE
  1053. ,S2240,Name
  1054. ,S2241,Layer
  1055. ,S2242,Control ID
  1056. STATIC ID,S2246,32789
  1057. ,S2247,Control Class
  1058. ,S2249,Control Text
  1059. ,S2278,Control Style
  1060. EDIT Name,E2243,
  1061. iedit Layer,i2636,
  1062. EDIT ClassName,E2248,
  1063. iedit Style,i2279,
  1064. EDIT Text,E2250,
  1065. BUTTON OK,B1,TRUE
  1066. BUTTON Cancel,B2,FALSE
  1067. customPropertiesInit
  1068. 524480,14,25,25,230,131,,,Pushbutton Properties,8,MS Sans Serif,,6,43,28,12,253,1342177280,130,Layer,0,,63,43,39,12,252,1342177280,130,Control ID:,0,,6,25,33,12,254,1342177280,130,Caption,0,,6,10,33,12,255,1342177280,130,Name,0,name,37,6,125,13,235,1350631552,129,,0,caption,37,24,125,13,240,1350631552,129,,0,layer,37,43,20,12,250,1350631552,129,,0,,6,57,129,43,4782,1342177287,128,Button Action,0,ControlID,103,43,60,44,3253,1350631746,133,,0,Accept,20,72,78,9,200,1342177289,128,&Accept changes,0,Discard,20,84,80,9,205,1342177289,128,Cance&l the changes,0,Default,6,103,74,12,230,1342242819,128,&Default Pushbutton,0,,176,6,50,14,1,1342242817,128,&OK,0,,176,23,50,14,2,1342242816,128,&Cancel,0
  1069. PushButtonPropertiesBOX
  1070. ,S253,Layer
  1071. ,S252,Control ID:
  1072. ,S254,Caption
  1073. ,S255,Name
  1074. EDIT name,E235,
  1075. EDIT caption,E240,
  1076. iedit layer,i250,
  1077. ,G4782,Button Action
  1078. COMBOBOX ControlID,C3253,
  1079. BUTTON Accept,B200,FALSE
  1080. BUTTON Discard,B205,FALSE
  1081. BUTTON Default,B230,FALSE
  1082. ,B1,TRUE
  1083. ,B2,FALSE
  1084. LoadTemplateINIT
  1085. comboboxpropertiesBOX
  1086. listboxpropertiesBOX
  1087. editpropertiesBOX
  1088. 524480,16,25,25,209,113,,,Checkbox/Radio button Properties,8,MS Sans Serif,,6,60,63,37,4786,1342177287,128,Button Style,0,,7,45,28,12,253,1342177280,130,Layer,0,,75,45,39,12,252,1342177280,130,Control ID:,0,,7,25,33,12,254,1342177280,130,Caption,0,ID,114,45,25,8,245,1342177280,130,ID ,0,,7,10,33,12,255,1342177280,130,Name,0,name,37,6,99,13,235,1350631552,129,,0,caption,37,24,99,13,240,1350631552,129,,0,layer,37,41,20,12,250,1350631552,129,,0,checkbox,13,72,49,9,180,1342308361,128,Check&box,0,radio,13,85,53,9,185,1342177289,128,&Radio button,0,,73,60,64,37,4782,1342308359,128,Default Value,0,true,78,72,41,9,200,1342308361,128,&True,0,false,78,85,40,9,205,1342177289,128,&False,0,,151,7,51,15,1,1342373889,128,&OK,0,,151,26,51,15,2,1342242816,128,&Cancel,0
  1089. ,G4786,Button Style
  1090. ,S253,Layer
  1091. ,S252,Control ID:
  1092. ,S254,Caption
  1093. STATIC ID,S245,ID 
  1094. ,S255,Name
  1095. EDIT name,E235,
  1096. EDIT caption,E240,
  1097. iedit layer,i250,
  1098. BUTTON checkbox,B180,FALSE
  1099. BUTTON radio,B185,FALSE
  1100. ,G4782,Default Value
  1101. BUTTON true,B200,FALSE
  1102. BUTTON false,B205,FALSE
  1103. ,B1,TRUE
  1104. ,B2,FALSE
  1105. 524480,4,25,25,164,148,,,Load Dialog Template,8,MS Sans Serif,,6,6,91,9,3169,1342177280,130,Text,0,templates,6,17,92,110,3170,1352728579,131,,0,OK,108,6,50,14,1,1342242817,128,&Open,0,Cancel,108,22,50,14,2,1342242816,128,&Cancel,0
  1106. ,S3169,Dialogs in book
  1107. LISTBOX templates,L3170,
  1108. BUTTON OK,B1,TRUE
  1109. BUTTON Cancel,B2,FALSE
  1110. staticpropertiesBOX
  1111. dialogpropertiesBOX
  1112. groupboxpropertiesBOX
  1113. iconpropertiesBOX
  1114. 524480,16,25,25,241,153,,,Combobox Properties,8,Helv,,90,63,75,74,2687,1342177287,128,Options,0,Name,37,7,127,12,235,1350631552,129,,0,Layer,37,23,20,12,245,1350631552,129,,0,DropDownLength,71,42,27,12,248,1350631552,129,,0,Items,6,72,75,66,250,1352728708,129,,0,sort,103,82,53,12,270,1342242819,128,So&rt Items,0,scroll,103,99,53,12,18,1342242819,128,Scroll &Bar,0,editable,103,115,53,12,119,1342242819,128,&Editable,0,,183,6,52,15,1,1342242817,128,&OK,0,,183,24,52,15,2,1342242816,128,&Cancel,0,,5,26,27,12,252,1342177280,130,Layer,0,,70,26,42,12,254,1342177280,130,Control ID:,0,,5,9,24,12,251,1342177280,130,Name,0,,5,59,56,9,255,1342177280,130,Combobox Items,0,,5,45,62,12,253,1342177280,130,Dropdown Length,0,ID,112,26,36,8,240,1342177280,130,ID,0
  1115. 524480,15,25,25,241,153,,,Listbox Properties,8,Helv,,92.00,46.00,78.00,59.00,2667,1342177287,128,Style,0,,6.00,25.00,34.00,12.00,253,1342177280,130,Layer,0,,94.00,26.00,39.00,12.00,254,1342177280,130,Control ID:,0,,6.00,8.00,24.00,10.00,252,1342177280,130,Name,0,,6.00,41.00,45.00,9.00,251,1342177280,130,Listbox Items,0,ID,137.00,26.00,28.00,10.00,240,1342177280,130,ID,0,Name,45.00,6.00,125.00,13.00,235,1350631552,129,,0,Layer,45.00,23.00,27.00,13.00,245,1350631552,129,,0,Items,6.00,53.00,80.00,74.00,250,1352728708,129,,0,single,96.00,62.00,70.00,10.00,3392,1342177289,128,&Single Selection,0,,96.00,76.00,70.00,12.00,275,1342177289,128,&Multiple Selection,0,,96.00,90.00,70.00,12.00,280,1342177289,128,&Extend Selection,0,,106.00,116.00,51.00,12.00,270,1342242819,128,So&rt Items,0,,182.00,5.00,51.00,15.00,1,1342242817,128,OK,0,,182.00,22.00,51.00,15.00,2,1342242816,128,Cancel,0
  1116. 524480,15,25,25,198,142,,,Static Properties,8,Helv,,75.00,21.00,51.00,50.00,4828,1342177287,128,Justification,0,,7.00,30.00,34.00,12.00,252,1342177280,130,Layer,0,,7.00,49.00,36.00,10.00,253,1342177280,130,Control ID,0,,7.00,9.00,24.00,12.00,251,1342177280,130,Name,0,,7.00,65.00,55.00,9.00,254,1342177280,130,Static Text,0,,47.00,49.00,25.00,8.00,240,1342177280,130,ID,0,,45.00,8.00,82.00,12.00,235,1350631552,129,,0,,45.00,28.00,20.00,12.00,245,1350631552,129,,0,,83.00,30.00,34.00,12.00,255,1342308361,128,&Left,0,,83.00,42.00,34.00,12.00,260,1342177289,128,&Right,0,,83.00,54.00,34.00,12.00,265,1342177289,128,&Center,0,,7.00,76.00,119.00,29.00,250,1352859780,129,,0,,7.00,110.00,51.00,12.00,270,1342242819,128,&Border,0,,141.00,8.00,51.00,15.00,1,1342242817,128,OK,0,,141.00,25.00,51.00,15.00,2,1342242816,128,Cancel,0
  1117. bitmapPropertiesBOX
  1118. customPropertiesBOX
  1119. aboutBox
  1120. normalScript
  1121. 524480,10,25,25,209,82,,,Dialog Frame,8,Helv,,9.00,8.00,36.00,8.00,3151,1342177280,130,Caption,0,,82.00,49.00,36.00,8.00,3154,1342177280,130,Y Position,0,,8.00,49.00,36.00,8.00,3155,1342177280,130,X Position,0,,9.00,26.00,36.00,8.00,2987,1342177280,130,Caption,0,Name,53.00,7.00,94.00,12.00,3152,1350631552,129,,0,caption,53.00,25.00,94.00,12.00,2988,1350631552,129,,0,xpos,52.00,47.00,18.00,12.00,3156,1350631424,129,,0,ypos,126.00,47.00,18.00,12.00,3157,1350631424,129,,0,,154.00,6.00,51.00,14.00,1,1342242817,128,&OK,0,,154.00,22.00,51.00,14.00,2,1342242816,128,&Cancel,0
  1122. 524480,10,25,25,124,114,,,Groupbox Control,8,Helv,name,46,6,74,12,235,1350631424,129,,0,caption,46,21,74,12,240,1350631552,129,,0,layer,46,36,20,12,250,1350631424,129,,0,,69,66,51,15,1,1342242816,128,OK,0,,69,84,51,15,2,1342242816,128,Cancel,0,,5,39,34,12,253,1342177280,130,Layer,0,,5,55,39,12,252,1342177280,130,Control ID:,0,,5,23,33,12,254,1342177280,130,Caption,0,ID,46,55,36,8,245,1342177280,130,ID ,0,,5,8,33,12,255,1342177280,130,Name,0
  1123. 524480,13,25,25,209,124,,,Icon Properties,8,MS Sans Serif,,59.00,57.00,45.00,48.00,2544,1342177287,128,Icon,0,,6.00,12.00,22.00,10.00,2532,1342177280,130,Layer,0,,73.00,29.00,37.00,9.00,2533,1342177280,130,Control ID:,0,,5.00,28.00,26.00,10.00,2534,1342177280,130,Layer,0,ID,111.00,28.00,22.00,10.00,2542,1342177280,130,Text,0,Current Icon,72.00,74.00,19.00,20.00,2547,1342177283,130, ,0,,5.00,45.00,38.00,10.00,2949,1342177280,130,Layer,0,Name,43.00,10.00,95.00,12.00,2540,1350631552,129,,0,Layer,43.00,26.00,22.00,12.00,2541,1350631552,129,,0,resourceName,43.00,42.00,95.00,12.00,2950,1350631552,129,,0,,151.00,7.00,51.00,15.00,1,1342242817,128,OK,0,,151.00,26.00,51.00,15.00,2,1342242816,128,Cancel,0,Choose Icon,151.00,53.00,51.00,15.00,2543,1342242816,128,Choose &Icon,0
  1124. 524480,13,25,25,209,142,,,Bitmap Properties,8,MS Sans Serif,,7.00,58.00,133.00,68.00,2544,1342177287,128,Bitmap,0,,7.00,12.00,22.00,10.00,2532,1342177280,130,Layer,0,,79.00,32.00,37.00,9.00,2533,1342177280,130,Control ID:,0,,7.00,32.00,26.00,10.00,2534,1342177280,130,Layer,0,ID,117.00,32.00,23.00,10.00,2542,1342177280,130,Text,0,Current Bitmap,28.00,72.00,96.00,50.00,2553,1342177280,TBKDLGBitmap,,0,Name,42.00,10.00,98.00,12.00,2540,1350631552,129,,0,Layer,42.00,30.00,23.00,12.00,2541,1350631552,129,,0,,6.00,49.00,46.00,10.00,2964,1342177280,130,Layer,0,resourceName,53.00,47.00,87.00,12.00,2965,1350631552,129,,0,,151.00,7.00,54.00,15.00,1,1342242817,128,OK,0,,151.00,26.00,54.00,15.00,2,1342242816,128,Cancel,0,Choose Bitmap,151.00,53.00,54.00,15.00,2543,1342242816,128,Choose &Bitmap,0
  1125. viewerScript
  1126. to handle buttonClick
  1127.     hide this window
  1128. trueAcceptScript
  1129. to handle buttonClick
  1130.     close this window
  1131. falseCancelScript
  1132. integerScript
  1133. ID_OK
  1134. ID_CANCEL
  1135. $:0q3
  1136. 524480,14,25,25,241,153,,,Custom Control Properties,8,MS Sans Serif,,7.00,10.00,25.00,12.00,2240,1342177280,130,Text,0,,7.00,31.00,22.00,12.00,2241,1342177280,130,Text,0,,81.00,31.00,37.00,10.00,2242,1342177280,130,Text,0,ID,124.00,30.00,27.00,10.00,2246,1342177280,130,Text,0,,6.00,49.00,45.00,12.00,2247,1342177280,130,Text,0,,5.00,87.00,42.00,12.00,2249,1342177280,130,Text,0,,6.00,68.00,45.00,12.00,2278,1342177280,130,Text,0,Name,40.00,10.00,123.00,12.00,2243,1350631552,129,,0,Layer,40.00,29.00,29.00,12.00,2636,1350631552,129,,0,ClassName,55.00,47.00,107.00,14.00,2248,1350631552,129,,0,Style,55.00,66.00,107.00,14.00,2279,1350631552,129,,0,Text,55.00,86.00,107.00,50.00,2250,1352728580,129,,0,OK,179.00,10.00,54.00,14.00,1,1342242817,128,&OK,0,Cancel,179.00,28.00,54.00,14.00,2,1342242816,128,&Cancel,0
  1137. ,G12,
  1138. BUTTON OK,B1,TRUE
  1139. ,h6,icon "Dlg_MyAppIcon"
  1140. ,S8,All of the dialogs used in this application were created with this application and use the TB35DLG.DLL.
  1141. ,S9,Copyright 
  1142.  1991-1994 Asymetrix Corporation.
  1143. ,S10,ToolBook Dialog Editor v 3.5
  1144. 0,1342177281,130,Text,0
  1145. to handle show_DLGNAME_
  1146.     --Move linkDLL statement to enterApplication handler
  1147.     linkDLL "tb30dlg.dll"
  1148.         string dialog(string, string)
  1149.         string setValue(string, string, string)
  1150.         string getValue(string, string)
  1151.     set init to _DLGNAME_Init of this book
  1152.     --set init to setValue(init,"","")  --DLL function
  1153.     set retValue to dialog(_DLGNAME_BOX of this book, init)
  1154.     --get getValue(retValue, "")  --DLL function
  1155.     unlinkDLL "TB30DLG.DLL"
  1156. to handle show_DLGNAME_
  1157.     open viewer _DLGNAME_
  1158.     --uncomment the following lines to do initialization
  1159.     --in viewer _DLGNAME_
  1160.     --    initialize objects before showing the viewer
  1161.     --end
  1162.     show viewer _DLGNAME_ as modal
  1163.     --if the viewer is still open then a true/Accept
  1164.     --button was pressed
  1165.     if isOpen of viewer _DLGNAME_
  1166.         --uncomment the following lines to retrieve
  1167.         --information from the dialog
  1168.         --in viewer _DLGNAME_
  1169.         --    get the data from the objects here
  1170.         --end
  1171.     --otherwise the dialog was canceled
  1172.     else
  1173.         --do anything here to clean up after a cancel
  1174. ID_OK
  1175. ID_OK
  1176. ID_OK
  1177. ID_OK
  1178. D:\MTB35\SAMPLES\DIALOG.TBK
  1179. ID_OK
  1180. ID_OK
  1181. buttonIDs
  1182. ID_OK
  1183. ID_CANCEL
  1184. about
  1185. ID_OK
  1186. 9#X    ;
  1187. to handle keyChar key
  1188.     if ANSIToChar(key) is in "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@_"
  1189.         set character (item 2 of caretLocation + 1) of my password to ANSIToChar(key)
  1190.         set character (item 2 of caretLocation + 1) of my text to "*"
  1191.         increment item 2 of caretLocation
  1192.     else
  1193.         forward
  1194. 4<v$Tr
  1195. j9\9L
  1196. 524480,6,50,25,137,146,,,About Dialog,8,MS Sans Serif,,6,48,127,52,12,1342177287,128,,0,OK,49,115,40,14,1,1342242817,128,&OK,0,,7,9,18,20,6,1342177283,130, ,0,,9,60,120,34,8,1342177281,130,Text,0,,5,32,126,18,9,1342177281,130,Text,0,,33,9,100,17,10,1342177281,130,Text,0
  1197. Dialog
  1198. Page "Dialog"
  1199. controlProperties
  1200. Page "Help"
  1201. ToolBar
  1202. Editor - <Untitled>
  1203. Page "ToolBar"
  1204. ToolPalette
  1205. Page "ToolPalette"
  1206. groupboxScript
  1207. to handle sized
  1208.     set syssuspendmessages to true
  1209.     set item 4 of bounds of item 2 of my objects to item 2 of my bounds + 255
  1210.     set item 2 of bounds of item 1 of my objects to item 2 of my bounds + 60
  1211.     set sysSuspendMessages to false
  1212. selectedTool
  1213. select
  1214. lastRecTool
  1215. About Dialog
  1216. ToolBook Dialog Editor - aboutbox of D:\MTB40\SAMPLES\DIALOG.TBK
  1217. ALOG.TBK
  1218. --This handler initializes the editor.
  1219. It links 
  1220. DLLs used 
  1221. +ToolBar, Dialog, 
  1222. ToolPalette viewers, 
  1223. Ftranslates 
  1224. emessages 
  1225. enterApplication
  1226. 4OBJECT s_dialogWindow
  1227. 4WORD s_CurrentCursor
  1228. sysRuntime
  1229.  requires 
  1230. authoring version 
  1231. ToolBook."
  1232. = TRUE
  1233. p = 1
  1234. also wants 
  1235. only one 
  1236. fwindows 
  1237.     windowList = sysOpenWindows
  1238. ) > 0
  1239.             close 
  1240. initDLLs
  1241. initEditor
  1242. following 
  1243. use a 
  1244. ,mode extension 
  1245. within 
  1246.     --For now, I don't 
  1247. kloaded 
  1248. instance.
  1249. newDialog
  1250. focusWindow 
  1251. = FALSE
  1252. --Prevent nested 
  1253. , they have no meaning 
  1254.  templates
  1255. ) > 1 
  1256.             --
  1257. xallow 
  1258. --Only 
  1259. be shown 
  1260. s_Browse 
  1261. 4LOGICAL 
  1262. rightClick access 
  1263. rightbuttonDown
  1264. --Display 
  1265. user 
  1266. choose 
  1267. font 
  1268. 4s_DialogTemplate
  1269.     oldSelection = 
  1270. currentPage 
  1271. --KLUDGE
  1272. enabled 
  1273.     newFont = ChooseFontDlg(
  1274. &", 0,0,0,
  1275. 7", "forceExists,noGDI,noVector,screen")
  1276. --END 
  1277. contents
  1278. dlg_WinHelp(windowHandle 
  1279. .hlp",257,"
  1280.  INITIALIZTION/RESOTRATION HANDLERS 
  1281. states 
  1282. turn off sys3DInterface
  1283. 4STRING 
  1284. , s_dlgBaseUnits
  1285. t= "MS Sans Serif"
  1286. v= BOLD
  1287.     sysTransparent = 
  1288.     sysDrawDirect = 
  1289.     sysReaderRightClick = 
  1290.     sysUseWindowsColors = 
  1291.     sysShowMRUFiles = 
  1292.     objList = 
  1293. ) > 0
  1294. resName = "
  1295. normalGraphic 
  1296. invertGraphic 
  1297. bitmap 
  1298. ) > 0
  1299. disabledGraphic 
  1300. dlg_disable"&
  1301. --Link 
  1302. T    dll functions 
  1303.     --The DLL 
  1304. display dialogs created 
  1305.     linkDLL "tb40dlg.
  1306. getValue(
  1307. SetValue(
  1308. dialogCallback(
  1309. OpenFileDlg(
  1310. , INT)
  1311. SaveAsDlg(
  1312. chooseFontDlg(
  1313.     etBitmapData(
  1314.     etIconData(
  1315. } enableControl(
  1316.  setControlText(
  1317. getControlText(
  1318.     --See 
  1319. Microsoft 
  1320.      SDK documentation 
  1321. more information.
  1322. dlg_CreateFontIndirect = 
  1323. (POINTER)
  1324. dlg_SelectObject = 
  1325.         DWORD dlg_getTextExtent = 
  1326. U dlg_DeleteObject = 
  1327. kernel
  1328. WGlobalHandle = 
  1329. pGlobalAlloc = 
  1330.  dlg_GlobalLock = 
  1331. GlobalUnlock = 
  1332. GlobalFree = 
  1333. DC = getDC(
  1334. ReleaseDC = 
  1335.         INT dlg_DestroyIcon = 
  1336. SendMessage = 
  1337.  handlers 
  1338. --sent 
  1339. closing down 
  1340. tell 
  1341. shut 
  1342. s_dirty 
  1343. been made 
  1344. xsaved
  1345. checkSave
  1346. s_Dirty
  1347. defaultPage 
  1348. f"&Yes" 
  1349. "&No"
  1350. saveDialog
  1351. --Alias 
  1352. help 
  1353. --Toggles 
  1354. translated 
  1355. --are 
  1356. has no 
  1357. scripts 
  1358. , untranslating 
  1359. re-activates 
  1360. click 
  1361. explore 
  1362. architecture.
  1363. browse Browsestate
  1364.         untranslateAllWindowMessages 
  1365. clientHandle 
  1366. "Toolbar"
  1367. initViewer 
  1368. *     = 
  1369. --Shows 
  1370. necessary 
  1371. clears 
  1372. controls 
  1373. xisOpen 
  1374. clearDialog 
  1375. prompts 
  1376. a .DIA file that should be opened
  1377. "tbkdlg.dll".
  1378. decides 
  1379. operation, 
  1380. provides 
  1381. error checking.
  1382. Ctrl-A (ANSI 1) 
  1383. vvalue
  1384. specified .
  1385. ^s_InitialValues 
  1386. --remaining portion 
  1387. Fsends buildFrame 
  1388. --buildItem 
  1389. , whose corresponding 
  1390. rebuild 
  1391. OpenDialog
  1392. s_currentFile
  1393. tempList, templateName, 
  1394. , retVal
  1395. [ (*.DIA),*.
  1396.  (*.TBK),*.
  1397. ,SysBook (*.SBK),*.
  1398. ", 2)
  1399. upperCase(
  1400.     --If a 
  1401. 8was selected 
  1402. Flook 
  1403. there 
  1404. property 
  1405. isObject("BOOK" && QUOTE & 
  1406.         propList = 
  1407. currProp
  1408.             len = 
  1409. % = "box"
  1410. initProp = 
  1411. r) & CRLF 
  1412.         --If 
  1413. some 
  1414.             --
  1415.  = LoadTemplateInit 
  1416.  = setValue(
  1417. , "listbox 
  1418. (LoadTemplateBOX 
  1419. dialogName 
  1420. len-3 
  1421. targetBook 
  1422. newCaption = "
  1423.  - " & 
  1424.  && "
  1425. " && 
  1426. dialogTemplate = 
  1427. 8" && 
  1428. initialValues = 
  1429.  && "
  1430. 8" && 
  1431.  were found 
  1432.         --If 
  1433. -- I 
  1434. separate 
  1435. empty."
  1436.         sysErrorNumber = 0
  1437.  - " & 
  1438. [them 
  1439. be cleared
  1440. checkClear 
  1441.     --Build 
  1442.  values
  1443. buildItems 
  1444. B"showDialog" 
  1445. ) > 0)
  1446. ...".
  1447. --specifies a valid 
  1448. writen.
  1449.  = saveAsDlg("
  1450.              "", "
  1451.  *.DIA", 1)
  1452. SaveDIA
  1453. %...".
  1454. saveDialogAs
  1455.              "", "
  1456.      <> 
  1457. calls 
  1458. buildDialogXXX 
  1459.  "drawing".
  1460. These
  1461. Fwritten 
  1462.      <> 
  1463. buildDialogHeader 
  1464. buildDialogItems 
  1465. o(1) 
  1466.  strings
  1467.  - " & 
  1468. s invoked each 
  1469. }-clicks on a 
  1470. selects 
  1471. "Properties..." 
  1472. It will
  1473. appropriate 
  1474. %determined 
  1475. currently
  1476. }clicked on.
  1477. x hWnd, Msg, wKeyFlags, xClientPos, yClientPos
  1478. ZARRAY 
  1479. ctrlProperties[5]
  1480. ,targetObj
  1481. y --Menu 
  1482.  --Double 
  1483.         -- 
  1484.  key 
  1485. pressed 
  1486. doubleclick 
  1487.  > 1 
  1488.  = 0 
  1489.  = 0 ) 
  1490. objectFromPoint(ClientToPageUnits(
  1491. controlProperties 
  1492.     --Check 
  1493.  type 
  1494. 1] = "BUTTON"
  1495.             --PushButtons 
  1496. different than Checkboxes 
  1497. RadioButtons
  1498.             --because you can 
  1499. ID_OK, ID_CANCEL, 
  1500.             --IdNumber 
  1501. "pushbutton"
  1502. = pushbuttonPropertiesBox 
  1503. #esInit 
  1504. --Translate 
  1505. !controlID 
  1506. ctrlID = "&
  1507. oldID = "
  1508. ^" & 
  1509. ]" = 
  1510. f","combobox 
  1511. & ButtonIDs 
  1512. 4] = 
  1513. Baccept", 
  1514. Bdiscard", 
  1515. /# = 
  1516. J# = 
  1517. k# = 
  1518. #same 
  1519. # so 
  1520. done together
  1521. = checkRadioPropertiesBox 
  1522.     $ = 
  1523. %$,"static ID", 
  1524. Q$ = 
  1525. m$ = 
  1526. Bradio",
  1527. 4]) )
  1528. >% = 
  1529. o% = 
  1530. x%,"iedit 
  1531.             --
  1532. % box.
  1533. retValue 
  1534.             --
  1535. &specific 
  1536. 2] = 1
  1537. removeButtonID("
  1538. 2] = 2
  1539. 2] = 
  1540. xisType(REAL, 
  1541. addButtonID(
  1542. P    4] = 
  1543.     4] = "
  1544.     4] = "
  1545.     4] =
  1546. 4] = 
  1547. 1] = "GROUPBOX"
  1548. 8) = groupboxPropertiesInit 
  1549. ]) = 
  1550. f),"e235",
  1551. |) = 
  1552. ),"e240",
  1553. ),"s245",
  1554. ),"i250",
  1555.             --
  1556. w)(groupBoxPropertiesBOX 
  1557. 1] = "EDIT"
  1558. .+ = editPropertiesInit 
  1559. O+ = 
  1560. k+ = 
  1561. t+,"s240",
  1562. +,"i245",
  1563. +,"e250",
  1564. ,,"b200",(fieldType 
  1565.  = WordWrap))
  1566. 5, = 
  1567. >,,"b205",
  1568. X, = 
  1569. a,,"b210",
  1570. {, = 
  1571. ,,"b220",
  1572. ,,"b215",
  1573. BPassword", 
  1574. ,,"b225",
  1575. -,"b255",
  1576. *- = 
  1577. 3-,"b260",
  1578. F- = 
  1579. O-,"b265",
  1580. y- = 
  1581. :-(editPropertiesBOX 
  1582. SingleLineWrap
  1583. 4] = 
  1584. K    , "
  1585. 4] = 
  1586. i    , "
  1587. 4] = 
  1588. 4] = 
  1589. 4] = 
  1590. 4] = 
  1591. 1] = "STATIC"
  1592. w0 = staticPropertiesInit 
  1593. )1 = 
  1594. D1 = 
  1595. ]1 = 
  1596. v1 = 
  1597. /2 = 
  1598. 82,"b270",
  1599. Q2 = 
  1600. 1(staticPropertiesBOX 
  1601. 1] = "LISTBOX"
  1602. ,4 = listboxPropertiesInit 
  1603. P4 = 
  1604. l4 = 
  1605. Bsingle",
  1606. !5 = 
  1607. *5,"b280",
  1608. D5 = 
  1609. M5,"b275",
  1610. g5 = 
  1611. 4(listboxPropertiesBOX 
  1612. 4] = 
  1613. 4] = 
  1614. 4] = 
  1615. 4] = 
  1616. 1] = "COMBOBOX"
  1617. 6 = comboboxPropertiesInit 
  1618. 67 = 
  1619. c7 = 
  1620. dropDownLength",lineCount 
  1621. ",DropDownItems 
  1622. ",sortItems 
  1623. 88 = 
  1624. ",scrollable 
  1625. `8 = 
  1626. Beditable",Editable 
  1627. 7(comboboxPropertiesBOX 
  1628. dropDownItems 
  1629. 1] = "ICON"
  1630. : = iconPropertiesInit 
  1631. (: = 
  1632. =2", 
  1633. I: = 
  1634. v: = 
  1635. Layer",
  1636.  ; = 
  1637. \; = 
  1638. resourceName", 
  1639. ", NULL)
  1640.             --uses 
  1641. ;chooseResource 
  1642. ];, iconPropertiesBOX 
  1643. newIcon 
  1644. 1] = "BITMAP"
  1645. d= = BitmapPropertiesInit 
  1646. ;> = 
  1647. 6" && 
  1648. r> = 
  1649.             --
  1650. >, BitmapPropertiesBOX 
  1651. newBmp 
  1652. newBMP 
  1653. X! = 
  1654. \5 Place Holder"
  1655. !1] = "CUSTOM"
  1656. z@ = CustomPropertiesInit 
  1657. 1"2])
  1658. 6A = 
  1659. SA = 
  1660. className", 
  1661. wA = 
  1662. style", 
  1663. "4])    
  1664. @(CustomPropertiesBOX 
  1665. #3] = 
  1666. #4] = 
  1667.         --If 
  1668. B = dialogPropertiesInit 
  1669. 4C = 
  1670. SC = 
  1671. xpos",
  1672. vC = 
  1673. ypos",
  1674. (dialogPropertiesBOX 
  1675.     --If 
  1676. {wasn't 
  1677. $array
  1678. % <> 
  1679. selectionChanged 
  1680. D = 1
  1681. Dremoves 
  1682. 63IDString 
  1683. available 
  1684. --IDs.
  1685. cover 
  1686. ; makes 
  1687. easier 
  1688. read.
  1689. obuttonIDs
  1690. Eadds 
  1691. textlineCount(
  1692. T'strokes 
  1693. 8Ecalled 
  1694. It just resets 
  1695. FDialogFrame 
  1696. WMkeyUp a, b, 
  1697. controlState(
  1698. b <> 0
  1699. It handles 
  1700. G'nudge' behavior 
  1701. --arrow 
  1702. 'G unit 
  1703. Iinstead 
  1704. --pixel 
  1705. Hboarder 
  1706. resizing 
  1707. H buttons.
  1708. WMkeyDown a, b, 
  1709. , c, d
  1710. "ThickFrame"
  1711. )<= keyDownArrow
  1712. lockScreen 
  1713. DlgUnitsToPageUnits(1,1)
  1714. dx = 
  1715. dy = 
  1716. H-dx, 0
  1717. H0, -dy
  1718. Hdx, 0
  1719. H0, dy
  1720.             --Make 
  1721. Ialt 
  1722. dlg_sendMessage(
  1723. I", b, key, c bitOR (d bitShiftLeft 16))
  1724. b <> 0
  1725. "Assign 
  1726. 8..."
  1727. FGsetScript
  1728. KDscriptMessage, templateScript, cmdString
  1729. KJ = 4
  1730.     --If I 
  1731. 8yet, 
  1732. (where 
  1733. openFileDlg("
  1734. tG...", \
  1735.             "*.tbk", ".", "
  1736. J (*.
  1737. 8 *.TBK, 
  1738. 8 *.SBK", 1) 
  1739. r<> -1
  1740. K = 1
  1741.  without changing 
  1742. ;would 
  1743. 8doesn't 
  1744.  yet.
  1745. 100", 
  1746.         bFound = 
  1747.         resList = resourceList(
  1748. )) > 0 
  1749. currentIcon
  1750.     --If 
  1751. p, I 
  1752.     --names 
  1753. ("You must give 
  1754. Please specify a 
  1755. pbelow."
  1756.     --strip 
  1757. spaces, 
  1758. cannot 
  1759. ~(" ", 
  1760. ~(" ", 
  1761. verifyDialogName(
  1762. N = 1
  1763.     --If I am going 
  1764.  = normalScript 
  1765. ~("_DLGNAME_", 
  1766. ) > 65535)
  1767.  = ".
  1768. There 
  1769. xenough room 
  1770. 8"&& 
  1771. append the"&&\
  1772. )Cplaced on 
  1773. Pclipboard"
  1774.  = " 
  1775. Cadded 
  1776. P,"&&\
  1777. J;&&"
  1778.     --Add 
  1779. wM;"&\
  1780. initialization 
  1781. 8"&& \
  1782.  &"."
  1783. Q = 1
  1784. ,, msg
  1785. OisTemplate, isViewer
  1786. i = 1 
  1787. "1234567890"
  1788. H-= "
  1789. begin 
  1790. fa letter."
  1791. "!@#$%^&*()-,./?><;':[]{}\|=+`~"& SPACE & TAB & 
  1792. msg = "
  1793. 7J'"& 
  1794. =& "' 
  1795. contain 
  1796. s&"!@#$%^&*()-,./?><;':[]{}\|=+`~"& 
  1797. ?&"a 
  1798. "Unable 
  1799. already a 
  1800. 8" && 
  1801. @&" <> 
  1802. 8"&& 
  1803. 8" &&\
  1804. targetbook 
  1805. & "."
  1806. 8" &&\
  1807. & "."
  1808. 8" &&\
  1809. & "."
  1810. 5ontinue 
  1811. Vxisting 
  1812. V8 be overwritten " 
  1813. 8 be 
  1814. 8 be deleted 
  1815. RU"&\
  1816. 9 be 
  1817. "but no 
  1818. 29 be 
  1819. f"&Continue" 
  1820. "&Rename" 
  1821. "&Abort"
  1822. = "rename"
  1823. ("Enter 
  1824. buildViewer
  1825. W = 4
  1826. ...", \
  1827.             "*.
  1828. W (*.
  1829. r<> -1
  1830. X = 1
  1831. p, I 
  1832.  Y = 1
  1833. ~(" ", 
  1834. ~(" ", 
  1835. pZcorrect 
  1836. userProperty
  1837.     Z = 1
  1838.  could 
  1839. 5Xchanged 
  1840.  = ViewerScript 
  1841. ) > 65535)
  1842.  = ".
  1843. 8"&& 
  1844.  = " 
  1845. NF&&\
  1846. \,"&&\
  1847.     newDlgPage = copyObject(
  1848. k\", 
  1849. clientSize 
  1850. newDlgpage
  1851. skipNavigation 
  1852. V) > 0
  1853. currentObject
  1854. c? = 
  1855. ?1] = "
  1856. ?4] = 
  1857. ?4] = 
  1858. integerOnlyScript 
  1859.  = "PUSHBUTTON"
  1860. @4] = 
  1861. trueAcceptScript 
  1862. falseCancelScript 
  1863.     newDlgViewer = 
  1864. " && 
  1865. autosize 
  1866. defaultPosition 
  1867. alwaysReader 
  1868. " && 
  1869. I&& "
  1870. 8" &&\
  1871.  & "."
  1872. V_ = 1
  1873. D`displays 
  1874. jOAbout 
  1875. `..."
  1876. picked.
  1877. aboutdialog
  1878. e, aboutBOX 
  1879.         aboutinit 
  1880. dialogHelp
  1881. %modal
  1882. "apreview 
  1883. ShowDialog
  1884. [ = menuItemChecked("Preview3D" 
  1885. ` = 4
  1886. 1a = 1
  1887. nbasks 
  1888. --action occurs.
  1889. Ilogical openDialog
  1890. Cb?" 
  1891. "&No" 
  1892. ]b = 4
  1893. b = 1
  1894. E on 
  1895. --(Other 
  1896. TNOT 
  1897. %well.
  1898. xPos 
  1899. yPos 
  1900. 425, 300
  1901. c - <Untitled>"
  1902.  UTILITY FUNCTIONS 
  1903. QI two 
  1904. forget 
  1905.  keeping 
  1906. global memory 
  1907. Dallocate.
  1908. getWinPointer pBytes
  1909. dlg_GlobalAlloc(66, 
  1910. -- 66 = (moveable + zeroinit)
  1911. "Memory Allocation failed.
  1912. Operation Aborted."
  1913. freeWinPointer pPointerToGlobalMemory
  1914. ehMem
  1915. dlg_GlobalHandle(
  1916. bitAnd 0x0000FFFF
  1917. fselector.
  1918. dlg_GlobalUnLock(
  1919. Uoccured.
  1920. dlg_GlobalFree(
  1921. --Convert 
  1922. f units 
  1923. pixels
  1924. dlgUnitsToPixels x, y
  1925. ZnewX, newY
  1926.     baseUnits = 
  1927.     --width 
  1928. ] = ((x * 
  1929. _) / 4)
  1930.     --Height 
  1931. hheight 
  1932.  = ((y * 
  1933. ) / 8)
  1934. dlgUnitsToPageUnits x, y
  1935. pageUnits 
  1936. -per 
  1937. ix direction
  1938.  = ((x * 
  1939. sysPageUnitsPerPixel) / 4) 
  1940.  = ((y * 
  1941. xel) / 8)
  1942. PixelsToDlgUnits x, y
  1943. 4 times 
  1944.  = ((x / 
  1945. ) * 4)
  1946.  = ((y / 
  1947. ) * 8)
  1948. pageUnitsToDlgUnits x, y
  1949. divided 
  1950.  = ((x * 4) / (
  1951.  = ((y * 8) / (
  1952. --Acutally calucate 
  1953. ZfontName 
  1954. --point 
  1955. $depends on 
  1956. 410pt Bold, 
  1957. lAPI 
  1958. Q getDialogBaseUnits() gives 
  1959. other fonts, 
  1960. be calculated.
  1961. component 
  1962. hbeing
  1963. t_up 
  1964. widths, I 
  1965. mntire alphabet (
  1966. I cache 
  1967. e gets 
  1968. 'a lot (everytime 
  1969. -^, a couple 
  1970. , etc..)
  1971. a comma seperated 
  1972. , fontPtSize
  1973. ZlExtent, baseWidth, baseHeight, pLogFont, hFont, hPreviousFont, hDC
  1974.     --If we 
  1975. p, recalculate 
  1976. , otherwise use
  1977. ocached 
  1978. ci <> 
  1979. ti <> 
  1980. kstructure
  1981.         --fill 
  1982. 1(18, 
  1983. .(8, 
  1984. negative 
  1985. pcell 
  1986.         --multiplying 
  1987. inch 
  1988. points 
  1989. physical 
  1990.         --1440 
  1991. .(0, 
  1992.  * ((1440/
  1993. l) / 72)) )
  1994.         --Now I 
  1995.         hDC = dlg_getDC(sysClientHandle)
  1996. caluclate 
  1997. Gravarage 
  1998. ,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", 52)
  1999.         --0
  2000.  masks 
  2001. rhigh 
  2002.  = TRUNCATE((
  2003. ) / 52)
  2004.         --16 
  2005. bits 
  2006.  bitShiftRight 16)
  2007. clean Up
  2008. g(hDC, 
  2009. dlg_ReleaseDC(
  2010. scallback 
  2011. TBKDialogInit hDlg, hWndFocus
  2012. TBKDialogCommand 
  2013. XCtrlID, hWndCtrl, msgNumber, ControlName 
  2014.  = 0 
  2015. 7 = 1
  2016.             --
  2017.  = 0 
  2018. controlName = "
  2019. 9...", \
  2020. t (*.
  2021. wb *.
  2022. vb *.
  2023. setBitmapData(
  2024. ", GDIHandle(
  2025.  = 0 
  2026. i;...", \
  2027. Xv (*.
  2028. Ed *.
  2029. Dd *.
  2030. setIconData(
  2031. ToolBar
  2032. ToolBar
  2033. &File
  2034. &Open...    Ctrl+O
  2035. &Save    Ctrl+S
  2036. Save &As...
  2037. saveas
  2038. &Import...
  2039. import
  2040. &Export...
  2041. export
  2042. Print Set&up...
  2043. printsetup
  2044. &Print Pages...    Ctrl+P
  2045. printpages
  2046. Prin&t Report...
  2047. printreport
  2048. Send &Mail...
  2049. sendmail
  2050. &Run...
  2051. E&xit    Alt+F4
  2052. &Edit
  2053. &Undo    Ctrl+Z
  2054. Cu&t    Ctrl+X
  2055. &Copy    Ctrl+C
  2056. &Paste    Ctrl+V
  2057. paste
  2058. C&lear    Del
  2059. clear
  2060. Select &All    Shift+F9
  2061. selectall
  2062. Select Pa&ge    Shift+F12
  2063. selectpage
  2064. &Size to Page    F11
  2065. sizetopage
  2066. F&ind...    F5
  2067. Re&place...
  2068. replace
  2069. Aut&hor    F3
  2070. author
  2071. &Text
  2072. &Character...    F6
  2073. character
  2074. &Paragraph...    F7
  2075. paragraph
  2076. &Regular    Ctrl+Space
  2077. regular
  2078. &Bold    Ctrl+B
  2079. &Italic    Ctrl+I
  2080. italic
  2081. &Underline    Ctrl+U
  2082. underline
  2083. Stri&keout    Ctrl+K
  2084. strikeout
  2085. Superscrip&t/Subscript
  2086. superscriptSubscript
  2087. &Normal Script
  2088. normalscript
  2089. Su&bscript    Ctrl+L
  2090. subscript
  2091. Su&perscript    Ctrl+Shift+L
  2092. superscript
  2093. &Show Hotwords    F9
  2094. showhotwords
  2095. &Page
  2096. &Next    Alt+Right
  2097. &Previous    Alt+Left
  2098. previous
  2099. &First    Alt+Up
  2100. first
  2101. &Last    Alt+Down
  2102. &Back    Shift+F2
  2103. &History...    Ctrl+F2
  2104. history
  2105. N&ew Page    Ctrl+N
  2106. newpage
  2107. &Help
  2108. &Contents    F1
  2109. contents
  2110. Status &Bar    F12
  2111. statusbar
  2112. undo    Ctrl+Z
  2113. cut    Ctrl+X
  2114. copy    Ctrl+C
  2115. paste    Ctrl+V
  2116. clear    Del
  2117. command    Shift+F3
  2118. Save    Ctrl+S
  2119. SaveDialog
  2120. Open    Ctrl+O
  2121. OpenDialog
  2122. Properties    Shift+F6
  2123. Properties
  2124. Preview Dialog    Ctrl+W
  2125. ShowDialog
  2126. group    Ctrl+G
  2127. group
  2128. contents    F1
  2129. contents
  2130. edit editor    F3
  2131. Browse
  2132. &File
  2133. newDialog
  2134. &Open...    Ctrl+O
  2135. OpenDialog
  2136. &Save...    Ctrl+S
  2137. SaveDialog
  2138. Sa&ve As...
  2139. SaveDialogAs
  2140. &Assign Template to Book...
  2141. build
  2142. &Convert Template to Viewer...
  2143. buildViewer
  2144. E&xit    Alt+F4
  2145. &Edit
  2146. &Undo    Ctrl+Z
  2147. DlgUndo
  2148. Cu&t    Ctrl+X
  2149. CutControl
  2150. &Copy    Ctrl+C
  2151. CopyControl
  2152. &Paste    Ctrl+V
  2153. PasteControl
  2154. De&lete    Del
  2155. DeleteControl
  2156. Cl&ear Dialog
  2157. &Control
  2158. &Properties...    Shift+F6
  2159. ControlProperties
  2160. &FOOBAR    Ctrl+G
  2161. GroupControls
  2162. &Align Controls
  2163. AlignControls
  2164. &Left
  2165. AlignLeft
  2166. AlignTop
  2167. &Right
  2168. AlignRight
  2169. &Bottom
  2170. AlignBottom
  2171. &View
  2172. Preview
  2173. Previe&w Dialog    Ctrl+W
  2174. showDialog
  2175. 3&D in Preview
  2176. Preview3D
  2177. &Help
  2178. Contents    F1
  2179. Contents
  2180. &Quick Help...
  2181. dialogHelp
  2182. Edit Editor    F3
  2183. Browse
  2184. &About Dialog...
  2185. xzxzx
  2186. --This handler sets the 
  2187. ToolPalette 
  2188. editor 
  2189. --sizes 
  2190. translates 
  2191. IWM_SETCURSOR
  2192. emessage
  2193. openWindow
  2194. 4OBJECT s_dialogWindow
  2195. oparenthandle 
  2196. windowhandle 
  2197. oclientSize 
  2198. Z) - (
  2199. + 10), \
  2200. oselectedTool 
  2201.     translateWindowMessage 
  2202. oclienthandle
  2203.         on 0x0020 
  2204. setCursor 
  2205. he cursor 
  2206. arrow 
  2207. over 
  2208. NhWnd, msg, hWndmsg, hitTest, mouseMessage
  2209. 4s_CurrentCursor
  2210.  = 0x0200 
  2211.  <> 4
  2212. sysTool 
  2213. value, 
  2214. --non-ToolBook 
  2215. Fsends 
  2216. correct 
  2217. depressed.
  2218. gives 
  2219. spacebar
  2220. --toggle between 
  2221. Jbehavior 
  2222. "bitmap"
  2223. "icon"
  2224. "groupbox"
  2225. "custom"
  2226. olastRecTool 
  2227. returns 
  2228. Toolpalette.
  2229. invertedButton 
  2230. --This handler sets the buttons 
  2231. ToolBar 
  2232. correct toggle state
  2233. translates 
  2234. emessages 
  2235. WM_SETCURSOR 
  2236. WM_NCRIGHTBUTTONDOWN
  2237. initViewer
  2238. toggleState (
  2239. ) = down) 
  2240.     translateWindowMessage 
  2241. oclienthandle
  2242.         on 0x00A4 
  2243.         on 0x0020 
  2244. setCursor 
  2245. owindowhandle
  2246.         on 0
  2247.         on 0x0204 
  2248. closes 
  2249. editor 
  2250. closeWindow
  2251. he cursor 
  2252. arrow 
  2253. ever 
  2254. hWnd, msg, hWndmsg, hitTest, mouseMessage
  2255. 4s_CurrentCursor
  2256.   = 0x0200 
  2257.  <> 4
  2258. keeps 
  2259. sync 
  2260. control key.
  2261. controlState isControl
  2262. 4LOGICAL s_controlState
  2263. enables/disables 
  2264. menuItems 
  2265. cdepending on the
  2266. much 
  2267. taken 
  2268. cstates 
  2269. rest 
  2270. --toolbar 
  2271. enterMenu menuName, menuAlias
  2272. 4OBJECT s_dialogWindow
  2273. 4undoFlag
  2274. 4logical s_Browse    
  2275. R = "
  2276. isOpen 
  2277. --Keep 
  2278. menuItemEnabled("
  2279. "dlgUndo"
  2280.  = "Redo"
  2281. setMenuItemName("
  2282. ,, "Re&
  2283. z"&TAB&"Ctrl+Z")
  2284. S, "&
  2285.  = "Cannot 
  2286. "CutControl"
  2287. Copy")
  2288. "CopyControl"
  2289. Paste")
  2290. "PasteControl"
  2291. "DeleteControl"
  2292. clearDialog")
  2293. "deleteControl"
  2294. ) = 1 
  2295. controlProperties 
  2296. ) > 1 
  2297. "ControlProperties"
  2298. ) > 1 
  2299. GroupControls", "&
  2300. ) = 1 
  2301. ) > 1
  2302. c"AlignControls" 
  2303.  = "File"
  2304. enabled 
  2305. B"ShowDialog"
  2306. "saveDialog"
  2307. "saveDialogAs"
  2308. "build"
  2309. "BuildViewer"
  2310. "buildViewer"
  2311.  = "view"
  2312. "PreviewDialog"
  2313.  = "help"
  2314. , "Edit Editor"&
  2315. Q, "Return 
  2316. appripriate 
  2317. cselections
  2318. menuItemSelected 
  2319.         focusWindow = 
  2320.  = "DlgUndo"
  2321.             --
  2322.  = "AlignLeft"
  2323. '     = "AlignTop"
  2324. Q     = "AlignRight"
  2325. }     = "Alignbottom"
  2326.      = "Preview3D"
  2327. xmenuItemChecked("
  2328. browse 
  2329. --This handler sets the 
  2330. editor 
  2331. another
  2332. translate 
  2333. *windows messages I want 
  2334. openWindow
  2335. 4OBJECT s_dialogWindow
  2336. ZLOGICAL sls
  2337. = TRUE
  2338. parentHandle 
  2339. windowHandle 
  2340. "ToolBar"
  2341. "ToolPalette"
  2342. initViewer
  2343. ocurrentPage 
  2344. oclientSize
  2345. updates 
  2346. q buttons on entering 
  2347. enterWindow
  2348. "Toolbar"
  2349. enabled 
  2350. menuItemEnabled("
  2351. B"showDialog" 
  2352. ) > 0
  2353. selectionChanged 
  2354. makes sure 
  2355. user about saving 
  2356. --closing 
  2357. closeWindow
  2358. checkSave
  2359. clearDialog FALSE
  2360. translates 
  2361. 4s_frameWidth
  2362.  DIV 
  2363. sysPageUnitsPerPixel
  2364.     translateWindowMessage 
  2365. oclienthandle
  2366.         on 0x0020 
  2367. setCursor 
  2368.         on 0x00A4 
  2369.         on 0x0204 
  2370.         on 0x0203 
  2371.         on 0x0100 
  2372. WMkeyDown 
  2373.         on 0x0101 
  2374. WMkeyUp 
  2375.         on 0x0104 
  2376. WMKeyDown 
  2377. owindowhandle
  2378.         on 0
  2379. he cursor 
  2380. either 
  2381. ,mode arrow 
  2382. cross hairs
  2383. --depending on 
  2384. value 
  2385. sysTool.
  2386. It also 
  2387. has been toggled 
  2388. hWnd, msg, hWndmsg, hitTest, mouseMessage
  2389. 4s_CurrentCursor
  2390.   = 0x0200 
  2391.             --
  2392. correct custom 
  2393. B(LastRecTool 
  2394.             --
  2395. ToolBook tools, 
  2396. corrisponding 
  2397. B, radioButton, 
  2398. Y, borderlessField, 
  2399. , singleSelectListbox, combobox"
  2400. enables/disables 
  2401. menuItems 
  2402. --state 
  2403. much 
  2404. taken 
  2405. cstates 
  2406. rest 
  2407. --toolbar 
  2408. menuItemSelected menuName, menuAlias
  2409. _Browse
  2410. browse 
  2411. xs_Browse
  2412. sized
  2413. isOpen 
  2414.  = "dialogFrame" 
  2415. sizeToViewer 
  2416. --This handler gets the 
  2417. {that 
  2418. Bwas let up over, checks 
  2419. --see 
  2420. a member 
  2421. , inverts 
  2422. uninverts 
  2423. --other inverted 
  2424. sends 
  2425. a click.
  2426. objectFromPoint(
  2427. isChild(
  2428. toggleInvert 
  2429. obuttonPressed
  2430. buttonClick 
  2431. saves 
  2432. clicked down on 
  2433.     -- only 
  2434. {type 
  2435. FALSE
  2436. toggleObject 
  2437.     thePage = 
  2438. "ToolPalette"
  2439.         LockScreen 
  2440. * = TRUE
  2441. oinvertedButton) 
  2442. ooldInvertedButton 
  2443. determins 
  2444. objectInQuestion a child (
  2445. --subgroup) specified 
  2446. parentInQuestion
  2447. --These handlers 
  2448. status bar help 
  2449. isOpen 
  2450. "ToolBar"
  2451. "Toolbar"
  2452. statusbar 
  2453. "Draws a"&&
  2454. saved states 
  2455. oldState userProperty
  2456. ZSTACK 
  2457. ToolBar 
  2458. ToolPalette 
  2459. OldState
  2460. lineEndsPalette 
  2461. Oldstate
  2462. buttonClick
  2463. 4OBJECT s_dialogWindow
  2464. isOpen 
  2465. focusWindow 
  2466. >= "Button"
  2467. toggleState (
  2468. ) = down)
  2469. menuItemSelected "
  2470. U", "dlgUndo" 
  2471. "Toolbar"
  2472. enabled 
  2473. B"showDialog" 
  2474. "ToolBar") 
  2475. ) > 0)
  2476. WMKeyDown 0, 0, 
  2477. WMKeyUp 0, 0, 
  2478. statusBar 
  2479. helpText 
  2480. 4OBJECT s_dialogWindow
  2481. lockScreen 
  2482.     sysSuspendMessages = 
  2483.         "dlgBox" 
  2484.         "dlgInit" 
  2485. buildFrame 
  2486. buildItems 
  2487. FALSE
  2488. --This handler builds the part 
  2489. s_DialogTemplate 
  2490. ^that has 
  2491.  box frame 
  2492. style.
  2493. buildDialogHeader
  2494.     --calculate 
  2495. , convertint 
  2496. clientSize 
  2497. pixels, 
  2498. Fcaluclating 
  2499. width 
  2500.     --because 
  2501.  includes 
  2502. Kbut 
  2503. sysPageUnitsPerPixel)
  2504.     frameWidth = 
  2505. pixelsToDlgUnits(
  2506.     cx = 
  2507.     cy = 
  2508. fontName 
  2509. ptSize are already 
  2510. they 
  2511. used elsewhere
  2512.     fontPtSize = 
  2513. = 524480 --DS_MODALFRAME + DS_SETFONT + WS_SYSMENU 
  2514. "," & 0 
  2515. "," & xPos 
  2516. "," & yPos 
  2517. "," & cx 
  2518. "," & cy 
  2519. "," & 
  2520. "," & 
  2521. "," & 
  2522. controls 
  2523. sets up 
  2524. initialValues
  2525. each 
  2526. , too.
  2527. buildDialogItems
  2528. , s_InitialValues
  2529. ZSTACK objectList, tempControls, 
  2530. ZARRAY STRING CtrlProperties[5]
  2531.     WS_VISIBLECHILD = 1342177280
  2532.     WS_TABSTOP = 65536
  2533.     WS_GROUP = 131072
  2534.     WS_BORDER =
  2535. 8388608
  2536.     ObjectList = 
  2537. currentPage 
  2538. )least one CurrentControl 
  2539. been defined, 
  2540. property
  2541. wsgroup 
  2542.     --Step through 
  2543. we find a 
  2544.  outside 
  2545. . Use 
  2546. hold 
  2547. without 
  2548. ToolBook
  2549. "controlProperties" 
  2550.             groupObjects = 
  2551. "," & 
  2552. preControl 
  2553. "," & 
  2554.     nitems = 
  2555.     --Maximum 
  2556. allowable
  2557. 1> 100
  2558. "Only 100 
  2559. lowed.
  2560. If you proceed,"&&\
  2561. above 
  2562. K101 will be ignored." 
  2563. f"&Continue" 
  2564. "Cancel"
  2565.     --Walk 
  2566. setup 
  2567.  strings.
  2568. currentControl
  2569.             ctrlProperties = 
  2570. pageUnitsToDlgUnits(
  2571.             xSize = 
  2572.             ySize = 
  2573. "BUTTON"
  2574. --Text 
  2575.  Caption
  2576. ctrlText = 
  2577. class = 128
  2578. ctrlStyle = 
  2579. begins 
  2580. ends a 
  2581. Fgive 
  2582. -- 9 
  2583. BS_RADIOBUTTON
  2584. -- 3 
  2585. BS_CHECKBOX
  2586. "pushbutton" 
  2587. -- 1 
  2588. WS_DEFPUSBUTTON
  2589. initValue = 
  2590. -- 0 
  2591. ES_LEFT
  2592. -- 1 
  2593. ES_CENTER
  2594. -- 2 
  2595. ES_RIGHT
  2596. fieldType 
  2597. WordWrap
  2598. -- 4 
  2599. ES_MULTILINE
  2600. -- 2097152 
  2601. WS_VSCROLL
  2602. H2097152
  2603. -- 1048576 
  2604. WS_HSCROLL
  2605. H1048576
  2606. -- 64 
  2607. ES_AUTOHSCROLL
  2608. -- 128 
  2609. ES_AUTOVSCROLL
  2610. -- 32 
  2611. ES_PASSWORD
  2612. [1] = "iedit"
  2613. "static"
  2614. "LISTBOX"
  2615. --LBS_notify
  2616. H2097152
  2617. [4] = 
  2618. --LBS_SORT
  2619. [4] = 
  2620. --LBS_MULTIPLESEL
  2621. [4] = 
  2622. --LBS_EXTENDSEL
  2623. H2048
  2624. "COMBOBOX"
  2625. + 64 + 2    -- 64 
  2626. CBS_AUTOHSCROLL
  2627. -- 2 
  2628. CBS_DROPDOWN
  2629. scrollable 
  2630. H2097152
  2631. sortItems 
  2632. --CBS_SORT
  2633. Editable 
  2634. * lineCount 
  2635. dropDownItems 
  2636. "GROUPBOX"
  2637.     [1] 
  2638. c"ICON"
  2639. H3 --Icon
  2640. normalGraphic 
  2641. c"BITMAP"
  2642.     "TBKDLGBitmap"
  2643. ) <> 0
  2644. ) - 2 
  2645. ) <> 0
  2646. ) - 2 
  2647. c"CUSTOM"
  2648. isType(REAL, 
  2649. bitOR 
  2650. addDialogItem (
  2651. [2], 
  2652. , 0, 
  2653. [1], 
  2654. extra 
  2655. ctrlName, ctrlID, 
  2656. , extraBytes, ctrlType, 
  2657. there 
  2658. specified, don't 
  2659. "," &
  2660. "," &
  2661. "," &
  2662. "," &
  2663. "," &
  2664. "," &
  2665. "," &
  2666. "," &
  2667. "," &
  2668. "," &
  2669.             --Bitmaps 
  2670. f"p" 
  2671. picture 
  2672. "b" was taken 
  2673.  & "," & "p" & 
  2674.  & "," & 
  2675. o(1) 
  2676. "," & "p" & 
  2677.  & "," & 
  2678. o(1) 
  2679.             --Icons 
  2680. f"h" 
  2681. always 
  2682.  & "," & "h" & 
  2683.  & "," & 
  2684. o(1) 
  2685. "," & "h" & 
  2686.  & "," & 
  2687. o(1) 
  2688.             --Custom 
  2689. f"u" 
  2690. userDefined 
  2691. Hcombobox
  2692.  & "," & "u" & 
  2693.  & "," & 
  2694. o(1) 
  2695. "," & "u" & 
  2696.  & "," & 
  2697. o(1) 
  2698.  & "," & 
  2699.  & "," & 
  2700. o(1) 
  2701. "," & 
  2702.  & "," & 
  2703. o(1) 
  2704. handy 
  2705. savvy users who want 
  2706. their own values, 
  2707. based on those 
  2708. debugging purposes 
  2709. being
  2710. --written.)
  2711. buildfromVar pdlgBox, pdlgInit
  2712.  representation 
  2713.  specifed 
  2714. --dialogTemplate 
  2715. (See 
  2716. "main"
  2717. see how 
  2718. converted 
  2719. called 
  2720. following handlers:
  2721. --    openDialog
  2722.  frameHeight, 
  2723. , xPosition, yPosition
  2724. eshowing 
  2725. xpos 
  2726. ypos 
  2727. dlgUnitsToPixels(
  2728. sizeToViewer 
  2729. 4groupItems, dontMakeGroup
  2730. ctrlProps, 
  2731. dx, dy, cx, cy, ctrlClass
  2732. ZDWORD 
  2733. controlDefStack
  2734. C     = 2
  2735. y = 5
  2736.         makeLastGroup = 
  2737.         inGroup = 
  2738. [groupitems
  2739. [off 
  2740. description 
  2741. leave just 
  2742.  information.
  2743.             --reset 
  2744.  array 
  2745.             fill 
  2746. bytes 
  2747. editor
  2748. ] = "
  2749. have 7 
  2750. ,!ctrlstyle
  2751. bitAnd 0x0000000F ) = 7
  2752. newObj = drawControl("
  2753. , dx, dy,cx,cy)
  2754. ] = "
  2755. --It 
  2756.  types
  2757. ~ol("
  2758. , dx, dy, cx, cy)
  2759. ] = "
  2760. ="ctrlsytle
  2761. ) = 9
  2762. ) = 3
  2763. a PUSHBUTTON
  2764. "DEFPUSHBUTTON
  2765. ) = 1)
  2766. ] = 1
  2767. removeButtonID("ID_OK")
  2768. ] = 2
  2769. +_CANCEL")
  2770. getValue(
  2771. K , "b" & 
  2772. ] = 129 
  2773. c"EDIT"
  2774. , dx, dy, cx, cy)
  2775. ] = "
  2776. --Has Vertical ScrollBar
  2777. ) >= 1 )
  2778. EHorizontal 
  2779. ) >= 1 )
  2780. --AutoHorizontal 
  2781. 80) >= 1 )
  2782. --AutoVertical 
  2783. 40) >= 1 )
  2784. --Password
  2785. 20) >= 1 ) 
  2786. --MulitLine
  2787. 4) >= 1 ) 
  2788. SingleLineWrap
  2789. integer only 
  2790. ", "i" & 
  2791. P#,"e" & 
  2792. allignment
  2793. 2) >= 1
  2794. 1) >= 1
  2795. "STATIC"
  2796. 3) = 3
  2797. , dx, dy, cx, cy)
  2798. ] = "
  2799. j$, "h" & 
  2800. targetBook 
  2801. 8"&"E&
  2802. oldSys = 
  2803. isObject(IT)
  2804. , dx, dy, cx, cy)
  2805. ] = "
  2806. ) >= 1
  2807. 2) >= 1
  2808. 1) >= 1
  2809. &,"s" & 
  2810. ] = 131 
  2811. ] = "
  2812. l("listbox", dx, dy, cx, cy) 
  2813. ] = "
  2814. --assume single 
  2815. --ExtendSelect
  2816. 800) >= 1
  2817. --MulitSelect
  2818. B    8) >= 1
  2819. --Sort
  2820.     2) >= 1 )
  2821. ',"l" & 
  2822. ] = 133 
  2823. ] = "
  2824. , dx, dy, cx, cy) 
  2825. ] = "
  2826. ) >= 1 ) 
  2827. 256) >= 1 )
  2828. editable 
  2829. 1) >= 1 )
  2830. (,"c" & 
  2831. ] = "
  2832. , dx, dy, cx, cy)
  2833. ] = "
  2834. ), "p" & 
  2835. ] = "
  2836. , dx, dy, cx, cy)
  2837. ] = "
  2838. ), "h" & 
  2839. , dx, dy, cx, cy)
  2840. ] = "
  2841.             toggle = 
  2842.             --Check 
  2843. beginning 
  2844. ) >= 1
  2845. t.         
  2846. makeGroup 
  2847.             -- If 
  2848. w.signifies 
  2849.             -- 
  2850. another 
  2851. ='made 
  2852. i = 1 
  2853. frequently 
  2854. signify 
  2855. --so 
  2856. denoted 
  2857. unless 
  2858. x, y, 
  2859. |/, height
  2860. ZPOINT upperLeft, lowerRight
  2861.  = dlgUnitsToPageUnits(x, y)
  2862. s(x + 
  2863. /, y + 
  2864. "TEMP"
  2865. + 100, 
  2866. - 60 
  2867. - 150, 
  2868. + 195
  2869. label
  2870. groupboxScript 
  2871. "ToolPalette"
  2872. "singleSelect"
  2873. useWindowsColors 
  2874. m.Place Holder"
  2875. RECTANGLE
  2876. WHITE
  2877. icon 
  2878. holder"
  2879. "DrawItem"&&
  2880. &&"failed"
  2881. manage 
  2882. s4grouping 
  2883. tempSel 
  2884. ) < 2
  2885. --This handler keeps the status fields 
  2886. ToolBar 
  2887. -buttons on 
  2888.  enabled state current 
  2889. --sets 
  2890. Xbar 
  2891. _currently selected 
  2892. selectionChanged
  2893. 4OBJECT s_dialogWindow
  2894. ZARRAY STRING ctrlProperties[5]
  2895. 9electedControl
  2896. -ControlName
  2897. isOpen 
  2898. duplicate, bring 
  2899. front, 
  2900. toolbar
  2901. "ItemSelected" 
  2902. a multiple 
  2903. selectedControl = 
  2904. will have a controlProperties userProperty 
  2905. pageUnitsToDlgUnits(
  2906. controlPosition 
  2907. controlSize 
  2908.  = "<Untitled>"
  2909. statusBar 
  2910. 1] && 
  2911. --disable 
  2912. FALSE
  2913. xPos 
  2914. , yPos 
  2915. --calculate 
  2916. Dialog 
  2917. --includes 
  2918. Kbut 
  2919. frame width.
  2920. clientSize 
  2921.  DIV 
  2922. sysPageUnitsPerPixel
  2923. frameWidth 
  2924. pixelsToDlgUnits(
  2925. dialogName 
  2926.  = "<
  2927. "DIALOG" && 
  2928. B"showDialog" 
  2929. ) > 0)
  2930. --controls 
  2931. %well 
  2932. %converts 
  2933. drawn 
  2934. custom, groupbox, bitmap,
  2935. icon 
  2936. correct 
  2937. array tells
  2938. editor functions 
  2939. create 
  2940.  templates.
  2941. Celements are:
  2942. [1] = 
  2943. Type        - internal 
  2944. [2] = 
  2945. ID            - 
  2946. {ID except 
  2947. pushButtons
  2948. [3] = 
  2949. Text        - 
  2950. [4] = 
  2951. Style bits    - values depend on 
  2952.  class
  2953. [5] = 
  2954. Class        - actual 
  2955. 4LOGICAL s_dirty
  2956. 4s_undoFlag
  2957.     --don't want 
  2958. zanything 
  2959. copying 
  2960.     --suspend 
  2961. 4messages so creating 
  2962. doesn't
  2963. more makes
  2964.     sysSuspendMessages = 
  2965. , we 
  2966. ><> "
  2967. useWindowsColors 
  2968. drawDirect 
  2969.             --If a 
  2970. gets 
  2971.  type
  2972. lockScreen 
  2973. so we can find 
  2974. "TEMP"
  2975.  place holder
  2976. selectedTool 
  2977. "ToolPalette" 
  2978. "Bitmap 
  2979. Place Holder"
  2980. excludeTab 
  2981.     1] = "BITMAP"
  2982. 2] = 
  2983.  = "TBKDLGBitmap"
  2984. newObj = 
  2985. "             
  2986. normalGraphic 
  2987. (32 * 
  2988. l),(32 * 
  2989. 1] = "ICON"
  2990. 2] = 
  2991. 3] = "comment"
  2992.  = "130"
  2993. a groupBox    
  2994. + 70, 
  2995. - 70 
  2996. - 150, 
  2997. + 195
  2998. label
  2999. "GROUP BOX"
  3000. groupboxScript 
  3001. 1] = "GROUPBOX"
  3002. 2] = 
  3003. 3] = 
  3004.  = "128"
  3005. "Custom 
  3006. 1] = "
  3007. ctrlproperties[2] = 
  3008. "radioButton"
  3009. 1] = "BUTTON"
  3010. 2] = 
  3011. 3] = 
  3012. --style 
  3013.  defPushButton, 
  3014. 4] = "
  3015.  = "128"
  3016. 1] = "
  3017. 2] = 
  3018. 3] = 
  3019. 4] = "
  3020.  = "128"
  3021. 1] = "
  3022. 2] = 
  3023. 3] = 
  3024. 4] = "
  3025.  = "128"
  3026. fieldType 
  3027. x"singleSelect"
  3028. 1] = "EDIT"
  3029. 2] = 
  3030. 3] = 
  3031.  vScroll, hScroll, auto 
  3032. Password, integerOnly
  3033. 4] = "
  3034.  = "129"
  3035. singleLineWrap
  3036. 1] = "STATIC"
  3037. 2] = 
  3038. 3] = 
  3039.  = "130"
  3040. 1] = "LISTBOX"
  3041. 2] = 
  3042. 3] = 
  3043. , extendSelect, multiselect, 
  3044. 4] = "
  3045.  = "131"
  3046. >= "combobox"
  3047. 1] = "COMBOBOX"
  3048. 2] = 
  3049. 3] = 
  3050.  = "133"
  3051.         --If 
  3052. >already has 
  3053. duplicated 
  3054. pasted 
  3055.         --we need 
  3056. update its ID 
  3057. 2] = 
  3058. ^that 
  3059. used 
  3060.     --on 
  3061. toolBar 
  3062. menuItemEnabled("
  3063. "Toolbar") 
  3064.  = "Undo"
  3065.  = "Cannot 
  3066. preview 
  3067. ) > 0)
  3068.  sure 
  3069. each 
  3070. even 
  3071.  unit
  3072. moved
  3073. ystem 
  3074. moving 
  3075. another 
  3076.  per DialogUnit 
  3077. down 
  3078. nearest
  3079. DlgUnitsToPageUnits(1, 1)
  3080.     dx = 
  3081.     dy = 
  3082.     x = 
  3083.     y = 
  3084. (x / dx) * dx, 
  3085. (y / dy) * dy
  3086.     --on 
  3087. sized
  3088. hight, 
  3089. itself
  3090. (1, 1)
  3091.     dx = 
  3092.     dy = 
  3093.     x = 
  3094.     y = 
  3095. (x / dx) * dx
  3096. (x / dx) * dx, 
  3097. (y / dy) * dy
  3098.     --on 
  3099. updates 
  3100. delete 
  3101.     --Put 
  3102. was ID_OK 
  3103. ID_CANCEL
  3104. PUSHBUTTON
  3105. 2] = 1
  3106. addButtonID("
  3107. 2] = 2
  3108. removed 
  3109. Xthings
  3110.     --on 
  3111. --KLUDGE
  3112. --If 
  3113. shut 
  3114. gone so checking
  3115. cause 
  3116. Turn 
  3117. ES off 
  3118. --End 
  3119. ) > 0)
  3120. Dialog
  3121. FALSE
  3122. group
  3123. STATIC
  3124. group
  3125. 1,"J<Y
  3126. sized
  3127. sized
  3128. syssuspendmessages 
  3129. =+ 255
  3130. =+ 60
  3131. sysSuspendMessages 
  3132. GROUPBOX
  3133. controlProperties
  3134. BUTTON
  3135. true,TRUE
  3136. controlProperties
  3137. controlProperties
  3138. All of the dialogs used in this application were created with this application and use the TB40DLG.DLL.
  3139. FALSE
  3140. group
  3141. FALSE
  3142. group
  3143. FALSE
  3144. group
  3145. FALSE
  3146. controlProperties
  3147. Copyright 
  3148.  1991-1995 Asymetrix Corporation.
  3149. STATIC
  3150. controlProperties
  3151. controlProperties
  3152. group
  3153. FALSE
  3154. ToolBook Dialog Editor v 4.0
  3155. STATIC
  3156. Cannot Undo
  3157. PUSHBUTTON
  3158. ID_OK
  3159. ID_CANCEL
  3160. showDialog
  3161. Toolbar
  3162. s_dirty
  3163. Y%controlProperties
  3164. addButtonID
  3165. ToolBar
  3166.     s_undoFlag
  3167. destroy
  3168. \>p3K=U
  3169. staticpropertiesinit
  3170. <BookPath>
  3171. :HDMEDIAPATH
  3172. System
  3173. Fo@_}
  3174. MS Sans Serif
  3175. System
  3176. Arial
  3177. MS Sans Serif
  3178. comboboxpropertiesinit
  3179. listboxpropertiesinit
  3180. editpropertiesinit
  3181. dialogpropertiesinit
  3182. aboutinit
  3183. ,G2687,Options
  3184. EDIT Name,E235,
  3185. iedit Layer,i245,
  3186. iedit DropDownLength,i248,
  3187. EDIT Items,E250,
  3188. BUTTON sort,B270,TRUE
  3189. BUTTON scroll,B18,FALSE
  3190. BUTTON editable,B119,FALSE
  3191. ,B1,TRUE
  3192. ,B2,FALSE
  3193. ,S252,Layer
  3194. ,S254,Control ID:
  3195. ,S251,Name
  3196. ,S255,Combobox Items
  3197. ,S253,Dropdown Length
  3198. STATIC ID,S240,ID
  3199. ,G2667,Style
  3200. ,S253,Layer
  3201. ,S254,Control ID:
  3202. ,S252,Name
  3203. ,S251,Listbox Items
  3204. STATIC ID,S240,ID
  3205. EDIT Name,E235,
  3206. iedit Layer,i245,
  3207. EDIT Items,E250,
  3208. BUTTON single,B3392,FALSE
  3209. ,B275,FALSE
  3210. ,B280,FALSE
  3211. ,B270,FALSE
  3212. ,B1,TRUE
  3213. ,B2,FALSE
  3214. ,G4848,Justification
  3215. ,S253,Layer
  3216. ,S254,Control ID:
  3217. ,S252,Name
  3218. ,S6115,Initial Text
  3219. ,S240,ID
  3220. ,E235,
  3221. ,i245,
  3222. ,B255,FALSE
  3223. ,B265,FALSE
  3224. ,B260,FALSE
  3225. ,E250,
  3226. ,B205,FALSE
  3227. ,B210,FALSE
  3228. ,B215,FALSE
  3229. BUTTON password,B2814,FALSE
  3230. ,B220,FALSE
  3231. ,B225,FALSE
  3232. ,B200,FALSE
  3233. ,B1,TRUE
  3234. ,B2,FALSE
  3235. ,G4828,Justification
  3236. ,S252,Layer
  3237. ,S253,Control ID
  3238. ,S251,Name
  3239. ,S254,Static Text
  3240. ,S240,ID
  3241. ,E235,
  3242. ,i245,
  3243. ,B255,FALSE
  3244. ,B260,FALSE
  3245. ,B265,FALSE
  3246. ,E250,
  3247. ,B270,FALSE
  3248. ,B1,TRUE
  3249. ,B2,FALSE
  3250. iconpropertiesinit
  3251. bitmapPropertiesInit
  3252. LoadTemplateBOX
  3253. ,S3151,Name
  3254. ,S3154,Y Position
  3255. ,S3155,X Position
  3256. ,S2987,Caption
  3257. EDIT Name,E3152,
  3258. EDIT caption,E2988,
  3259. iedit xpos,i3156,
  3260. iedit ypos,i3157,
  3261. ,B1,TRUE
  3262. ,B2,FALSE
  3263. ID_CANCEL
  3264. 9IALOG.TBK
  3265. targetBook
  3266. D:\MTB40\SAMPLES\DIALOG.TBK
  3267. lication were created with this application and use the TB30DLG.DLL.
  3268. ,S9,Copyright 
  3269.  1991-1994 Asymetrix Corporation.
  3270. ,S10,ToolBook Dialog Editor v 3.0
  3271. edit name,e235,
  3272. edit caption,e240,
  3273. iedit layer,i250,
  3274. ,b1,TRUE
  3275. ,b2,FALSE
  3276. ,s253,Layer
  3277. ,s252,Control ID:
  3278. ,s254,Caption
  3279. static ID,s245,ID 
  3280. ,s255,Name
  3281. groupboxpropertiesinit
  3282. ,G2544,Icon
  3283. ,S2532,Name 
  3284. ,S2533,Control ID
  3285. ,S2534,Layer
  3286. STATIC ID,S2542,
  3287. ICON Current Icon,h2547,icon "default"
  3288. ,S2949,Icon Name 
  3289. EDIT Name,E2540,
  3290. iedit Layer,i2541,
  3291. EDIT resourceName,E2950,
  3292. ,B1,TRUE
  3293. ,B2,FALSE
  3294. BUTTON Choose Icon,B2543,FALSE
  3295. PushButtonPropertiesINIT
  3296. CheckRadioPropertiesBOX
  3297. CheckRadioPropertiesINIT
  3298. ,G2544,Bitmap
  3299. ,S2532,Name 
  3300. ,S2533,Control ID
  3301. ,S2534,Layer
  3302. STATIC ID,S2542,
  3303. BITMAP Current Bitmap,p2553,
  3304. EDIT Name,E2540,
  3305. iedit Layer,i2541,
  3306. ,S2964,Bitmap Name 
  3307. EDIT resourceName,E2965,
  3308. ,B1,TRUE
  3309. ,B2,FALSE
  3310. BUTTON Choose Bitmap,B2543,FALSE
  3311. ,S2240,Name
  3312. ,S2241,Layer
  3313. ,S2242,Control ID
  3314. STATIC ID,S2246,32789
  3315. ,S2247,Control Class
  3316. ,S2249,Control Text
  3317. ,S2278,Control Style
  3318. EDIT Name,E2243,
  3319. iedit Layer,i2636,
  3320. EDIT ClassName,E2248,
  3321. iedit Style,i2279,
  3322. EDIT Text,E2250,
  3323. BUTTON OK,B1,TRUE
  3324. BUTTON Cancel,B2,FALSE
  3325. customPropertiesInit
  3326. 524480,14,25,25,230,131,,,Pushbutton Properties,8,MS Sans Serif,,6,43,28,12,253,1342177280,130,Layer,0,,63,43,39,12,252,1342177280,130,Control ID:,0,,6,25,33,12,254,1342177280,130,Caption,0,,6,10,33,12,255,1342177280,130,Name,0,name,37,6,125,13,235,1350631552,129,,0,caption,37,24,125,13,240,1350631552,129,,0,layer,37,43,20,12,250,1350631552,129,,0,,6,57,129,43,4782,1342177287,128,Button Action,0,ControlID,103,43,60,44,3253,1350631746,133,,0,Accept,20,72,78,9,200,1342177289,128,&Accept changes,0,Discard,20,84,80,9,205,1342177289,128,Cance&l the changes,0,Default,6,103,74,12,230,1342242819,128,&Default Pushbutton,0,,176,6,50,14,1,1342242817,128,&OK,0,,176,23,50,14,2,1342242816,128,&Cancel,0
  3327. PushButtonPropertiesBOX
  3328. ,S253,Layer
  3329. ,S252,Control ID:
  3330. ,S254,Caption
  3331. ,S255,Name
  3332. EDIT name,E235,
  3333. EDIT caption,E240,
  3334. iedit layer,i250,
  3335. ,G4782,Button Action
  3336. COMBOBOX ControlID,C3253,
  3337. BUTTON Accept,B200,FALSE
  3338. BUTTON Discard,B205,FALSE
  3339. BUTTON Default,B230,FALSE
  3340. ,B1,TRUE
  3341. ,B2,FALSE
  3342. LoadTemplateINIT
  3343. comboboxpropertiesBOX
  3344. listboxpropertiesBOX
  3345. editpropertiesBOX
  3346. 524480,16,25,25,209,113,,,Checkbox/Radio button Properties,8,MS Sans Serif,,6,60,63,37,4786,1342177287,128,Button Style,0,,7,45,28,12,253,1342177280,130,Layer,0,,75,45,39,12,252,1342177280,130,Control ID:,0,,7,25,33,12,254,1342177280,130,Caption,0,ID,114,45,25,8,245,1342177280,130,ID ,0,,7,10,33,12,255,1342177280,130,Name,0,name,37,6,99,13,235,1350631552,129,,0,caption,37,24,99,13,240,1350631552,129,,0,layer,37,41,20,12,250,1350631552,129,,0,checkbox,13,72,49,9,180,1342308361,128,Check&box,0,radio,13,85,53,9,185,1342177289,128,&Radio button,0,,73,60,64,37,4782,1342308359,128,Default Value,0,true,78,72,41,9,200,1342308361,128,&True,0,false,78,85,40,9,205,1342177289,128,&False,0,,151,7,51,15,1,1342373889,128,&OK,0,,151,26,51,15,2,1342242816,128,&Cancel,0
  3347. ,G4786,Button Style
  3348. ,S253,Layer
  3349. ,S252,Control ID:
  3350. ,S254,Caption
  3351. STATIC ID,S245,ID 
  3352. ,S255,Name
  3353. EDIT name,E235,
  3354. EDIT caption,E240,
  3355. iedit layer,i250,
  3356. BUTTON checkbox,B180,FALSE
  3357. BUTTON radio,B185,FALSE
  3358. ,G4782,Default Value
  3359. BUTTON true,B200,FALSE
  3360. BUTTON false,B205,FALSE
  3361. ,B1,TRUE
  3362. ,B2,FALSE
  3363. 524480,4,25,25,164,148,,,Load Dialog Template,8,MS Sans Serif,,6,6,91,9,3169,1342177280,130,Text,0,templates,6,17,92,110,3170,1352728579,131,,0,OK,108,6,50,14,1,1342242817,128,&Open,0,Cancel,108,22,50,14,2,1342242816,128,&Cancel,0
  3364. ,S3169,Dialogs in book
  3365. LISTBOX templates,L3170,
  3366. BUTTON OK,B1,TRUE
  3367. BUTTON Cancel,B2,FALSE
  3368. staticpropertiesBOX
  3369. dialogpropertiesBOX
  3370. groupboxpropertiesBOX
  3371. iconpropertiesBOX
  3372. 524480,16,25,25,241,153,,,Combobox Properties,8,Helv,,90,63,75,74,2687,1342177287,128,Options,0,Name,37,7,127,12,235,1350631552,129,,0,Layer,37,23,20,12,245,1350631552,129,,0,DropDownLength,71,42,27,12,248,1350631552,129,,0,Items,6,72,75,66,250,1352728708,129,,0,sort,103,82,53,12,270,1342242819,128,So&rt Items,0,scroll,103,99,53,12,18,1342242819,128,Scroll &Bar,0,editable,103,115,53,12,119,1342242819,128,&Editable,0,,183,6,52,15,1,1342242817,128,&OK,0,,183,24,52,15,2,1342242816,128,&Cancel,0,,5,26,27,12,252,1342177280,130,Layer,0,,70,26,42,12,254,1342177280,130,Control ID:,0,,5,9,24,12,251,1342177280,130,Name,0,,5,59,56,9,255,1342177280,130,Combobox Items,0,,5,45,62,12,253,1342177280,130,Dropdown Length,0,ID,112,26,36,8,240,1342177280,130,ID,0
  3373. 524480,15,25,25,241,153,,,Listbox Properties,8,Helv,,92.00,46.00,78.00,59.00,2667,1342177287,128,Style,0,,6.00,25.00,34.00,12.00,253,1342177280,130,Layer,0,,94.00,26.00,39.00,12.00,254,1342177280,130,Control ID:,0,,6.00,8.00,24.00,10.00,252,1342177280,130,Name,0,,6.00,41.00,45.00,9.00,251,1342177280,130,Listbox Items,0,ID,137.00,26.00,28.00,10.00,240,1342177280,130,ID,0,Name,45.00,6.00,125.00,13.00,235,1350631552,129,,0,Layer,45.00,23.00,27.00,13.00,245,1350631552,129,,0,Items,6.00,53.00,80.00,74.00,250,1352728708,129,,0,single,96.00,62.00,70.00,10.00,3392,1342177289,128,&Single Selection,0,,96.00,76.00,70.00,12.00,275,1342177289,128,&Multiple Selection,0,,96.00,90.00,70.00,12.00,280,1342177289,128,&Extend Selection,0,,106.00,116.00,51.00,12.00,270,1342242819,128,So&rt Items,0,,182.00,5.00,51.00,15.00,1,1342242817,128,OK,0,,182.00,22.00,51.00,15.00,2,1342242816,128,Cancel,0
  3374. 524480,15,25,25,198,142,,,Static Properties,8,Helv,,75.00,21.00,51.00,50.00,4828,1342177287,128,Justification,0,,7.00,30.00,34.00,12.00,252,1342177280,130,Layer,0,,7.00,49.00,36.00,10.00,253,1342177280,130,Control ID,0,,7.00,9.00,24.00,12.00,251,1342177280,130,Name,0,,7.00,65.00,55.00,9.00,254,1342177280,130,Static Text,0,,47.00,49.00,25.00,8.00,240,1342177280,130,ID,0,,45.00,8.00,82.00,12.00,235,1350631552,129,,0,,45.00,28.00,20.00,12.00,245,1350631552,129,,0,,83.00,30.00,34.00,12.00,255,1342308361,128,&Left,0,,83.00,42.00,34.00,12.00,260,1342177289,128,&Right,0,,83.00,54.00,34.00,12.00,265,1342177289,128,&Center,0,,7.00,76.00,119.00,29.00,250,1352859780,129,,0,,7.00,110.00,51.00,12.00,270,1342242819,128,&Border,0,,141.00,8.00,51.00,15.00,1,1342242817,128,OK,0,,141.00,25.00,51.00,15.00,2,1342242816,128,Cancel,0
  3375. bitmapPropertiesBOX
  3376. customPropertiesBOX
  3377. aboutBox
  3378. normalScript
  3379. 524480,10,25,25,209,82,,,Dialog Frame,8,Helv,,9.00,8.00,36.00,8.00,3151,1342177280,130,Caption,0,,82.00,49.00,36.00,8.00,3154,1342177280,130,Y Position,0,,8.00,49.00,36.00,8.00,3155,1342177280,130,X Position,0,,9.00,26.00,36.00,8.00,2987,1342177280,130,Caption,0,Name,53.00,7.00,94.00,12.00,3152,1350631552,129,,0,caption,53.00,25.00,94.00,12.00,2988,1350631552,129,,0,xpos,52.00,47.00,18.00,12.00,3156,1350631424,129,,0,ypos,126.00,47.00,18.00,12.00,3157,1350631424,129,,0,,154.00,6.00,51.00,14.00,1,1342242817,128,&OK,0,,154.00,22.00,51.00,14.00,2,1342242816,128,&Cancel,0
  3380. 524480,10,25,25,124,114,,,Groupbox Control,8,Helv,name,46,6,74,12,235,1350631424,129,,0,caption,46,21,74,12,240,1350631552,129,,0,layer,46,36,20,12,250,1350631424,129,,0,,69,66,51,15,1,1342242816,128,OK,0,,69,84,51,15,2,1342242816,128,Cancel,0,,5,39,34,12,253,1342177280,130,Layer,0,,5,55,39,12,252,1342177280,130,Control ID:,0,,5,23,33,12,254,1342177280,130,Caption,0,ID,46,55,36,8,245,1342177280,130,ID ,0,,5,8,33,12,255,1342177280,130,Name,0
  3381. 524480,13,25,25,209,124,,,Icon Properties,8,MS Sans Serif,,59.00,57.00,45.00,48.00,2544,1342177287,128,Icon,0,,6.00,12.00,22.00,10.00,2532,1342177280,130,Layer,0,,73.00,29.00,37.00,9.00,2533,1342177280,130,Control ID:,0,,5.00,28.00,26.00,10.00,2534,1342177280,130,Layer,0,ID,111.00,28.00,22.00,10.00,2542,1342177280,130,Text,0,Current Icon,72.00,74.00,19.00,20.00,2547,1342177283,130, ,0,,5.00,45.00,38.00,10.00,2949,1342177280,130,Layer,0,Name,43.00,10.00,95.00,12.00,2540,1350631552,129,,0,Layer,43.00,26.00,22.00,12.00,2541,1350631552,129,,0,resourceName,43.00,42.00,95.00,12.00,2950,1350631552,129,,0,,151.00,7.00,51.00,15.00,1,1342242817,128,OK,0,,151.00,26.00,51.00,15.00,2,1342242816,128,Cancel,0,Choose Icon,151.00,53.00,51.00,15.00,2543,1342242816,128,Choose &Icon,0
  3382. 524480,13,25,25,209,142,,,Bitmap Properties,8,MS Sans Serif,,7.00,58.00,133.00,68.00,2544,1342177287,128,Bitmap,0,,7.00,12.00,22.00,10.00,2532,1342177280,130,Layer,0,,79.00,32.00,37.00,9.00,2533,1342177280,130,Control ID:,0,,7.00,32.00,26.00,10.00,2534,1342177280,130,Layer,0,ID,117.00,32.00,23.00,10.00,2542,1342177280,130,Text,0,Current Bitmap,28.00,72.00,96.00,50.00,2553,1342177280,TBKDLGBitmap,,0,Name,42.00,10.00,98.00,12.00,2540,1350631552,129,,0,Layer,42.00,30.00,23.00,12.00,2541,1350631552,129,,0,,6.00,49.00,46.00,10.00,2964,1342177280,130,Layer,0,resourceName,53.00,47.00,87.00,12.00,2965,1350631552,129,,0,,151.00,7.00,54.00,15.00,1,1342242817,128,OK,0,,151.00,26.00,54.00,15.00,2,1342242816,128,Cancel,0,Choose Bitmap,151.00,53.00,54.00,15.00,2543,1342242816,128,Choose &Bitmap,0
  3383. viewerScript
  3384. to handle buttonClick
  3385.     hide this window
  3386. trueAcceptScript
  3387. to handle buttonClick
  3388.     close this window
  3389. falseCancelScript
  3390. integerScript
  3391. ID_OK
  3392. ID_CANCEL
  3393. $:0q3
  3394. 524480,14,25,25,241,153,,,Custom Control Properties,8,MS Sans Serif,,7.00,10.00,25.00,12.00,2240,1342177280,130,Text,0,,7.00,31.00,22.00,12.00,2241,1342177280,130,Text,0,,81.00,31.00,37.00,10.00,2242,1342177280,130,Text,0,ID,124.00,30.00,27.00,10.00,2246,1342177280,130,Text,0,,6.00,49.00,45.00,12.00,2247,1342177280,130,Text,0,,5.00,87.00,42.00,12.00,2249,1342177280,130,Text,0,,6.00,68.00,45.00,12.00,2278,1342177280,130,Text,0,Name,40.00,10.00,123.00,12.00,2243,1350631552,129,,0,Layer,40.00,29.00,29.00,12.00,2636,1350631552,129,,0,ClassName,55.00,47.00,107.00,14.00,2248,1350631552,129,,0,Style,55.00,66.00,107.00,14.00,2279,1350631552,129,,0,Text,55.00,86.00,107.00,50.00,2250,1352728580,129,,0,OK,179.00,10.00,54.00,14.00,1,1342242817,128,&OK,0,Cancel,179.00,28.00,54.00,14.00,2,1342242816,128,&Cancel,0
  3395. ,G12,
  3396. BUTTON OK,B1,TRUE
  3397. ,h6,icon "Dlg_MyAppIcon"
  3398. ,S8,All of the dialogs used in this application were created with this application and use the TB35DLG.DLL.
  3399. ,S9,Copyright 
  3400.  1991-1994 Asymetrix Corporation.
  3401. ,S10,ToolBook Dialog Editor v 3.5
  3402. 90,1342177281,130,Text,0
  3403. to handle show_DLGNAME_
  3404.     --Move linkDLL statement to enterApplication handler
  3405.     linkDLL "tb30dlg.dll"
  3406.         string dialog(string, string)
  3407.         string setValue(string, string, string)
  3408.         string getValue(string, string)
  3409.     set init to _DLGNAME_Init of this book
  3410.     --set init to setValue(init,"","")  --DLL function
  3411.     set retValue to dialog(_DLGNAME_BOX of this book, init)
  3412.     --get getValue(retValue, "")  --DLL function
  3413.     unlinkDLL "TB30DLG.DLL"
  3414. to handle show_DLGNAME_
  3415.     open viewer _DLGNAME_
  3416.     --uncomment the following lines to do initialization
  3417.     --in viewer _DLGNAME_
  3418.     --    initialize objects before showing the viewer
  3419.     --end
  3420.     show viewer _DLGNAME_ as modal
  3421.     --if the viewer is still open then a true/Accept
  3422.     --button was pressed
  3423.     if isOpen of viewer _DLGNAME_
  3424.         --uncomment the following lines to retrieve
  3425.         --information from the dialog
  3426.         --in viewer _DLGNAME_
  3427.         --    get the data from the objects here
  3428.         --end
  3429.     --otherwise the dialog was canceled
  3430.     else
  3431.         --do anything here to clean up after a cancel
  3432. ID_OK
  3433. ID_OK
  3434. ID_OK
  3435. ID_OK
  3436. ID_CANCEL
  3437. 9IALOG.TBK
  3438. dialogName
  3439. ID_OK
  3440. about
  3441. about
  3442. buttonIDs
  3443. about
  3444. ,=CANCEL
  3445. 9F9_OK
  3446. 8F9_OK
  3447. 9#X    ;
  3448. to handle keyChar key
  3449.     if ANSIToChar(key) is in "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@_"
  3450.         set character (item 2 of caretLocation + 1) of my password to ANSIToChar(key)
  3451.         set character (item 2 of caretLocation + 1) of my text to "*"
  3452.         increment item 2 of caretLocation
  3453.     else
  3454.         forward
  3455. N=v$Tr
  3456. ,G12,
  3457. BUTTON OK,B1,TRUE
  3458. ,h6,icon "Dlg_MyAppIcon"
  3459. ,S8,All of the dialogs used in this application were created with this application and use the TB40DLG.DLL.
  3460. ,S9,Copyright 
  3461.  1991-1995 Asymetrix Corporation.
  3462. ,S10,ToolBook Dialog Editor v 4.0
  3463. 9p3,1342177281,130,Text,0
  3464. 524480,6,50,25,137,146,,,About Dialog,8,MS Sans Serif,,6,46,127,54,12,1342177287,128,,0,OK,49,115,40,14,1,1342242817,128,&OK,0,,7,9,18,20,6,1342177283,130, ,0,,9,60,120,34,8,1342177281,130,Text,0,,5,32,126,18,9,1342177281,130,Text,0,,33,9,100,17,10,1342177281,130,Text,0
  3465.  & "," & "u" & 
  3466.  & "," & 
  3467. o(1) 
  3468. "," & "u" & 
  3469.  & "," & 
  3470. o(1) 
  3471.  & "," & 
  3472.  & "," & 
  3473. o(1) 
  3474. "," & 
  3475.  & "," & 
  3476. o(1) 
  3477. handy 
  3478. savvy users who want 
  3479. their own values, 
  3480. based on those 
  3481. debugging purposes 
  3482. being
  3483. --written.)
  3484. buildfromVar pdlgBox, pdlgInit
  3485.  representation 
  3486.  specifed 
  3487. --dialogTemplate 
  3488. (See 
  3489. "main"
  3490. see how 
  3491. converted 
  3492. called 
  3493. following handlers:
  3494. --    openDialog
  3495.  frameHeight, 
  3496. , xPosition, yPosition
  3497. eshowing 
  3498. xpos 
  3499. ypos 
  3500. dlgUnitsToPixels(
  3501. sizeToViewer 
  3502. 4groupItems, dontMakeGroup
  3503. ctrlProps, 
  3504. dx, dy, cx, cy, ctrlClass
  3505. ZDWORD 
  3506. controlDefStack
  3507. C     = 2
  3508. y = 5
  3509.         makeLastGroup = 
  3510.         inGroup = 
  3511. [groupitems
  3512. [off 
  3513. description 
  3514. leave just 
  3515.  information.
  3516.             --reset 
  3517.  array 
  3518.             fill 
  3519. bytes 
  3520. editor
  3521. ] = "
  3522. have 7 
  3523. ,!ctrlstyle
  3524. bitAnd 0x0000000F ) = 7
  3525. newObj = drawControl("
  3526. , dx, dy,cx,cy)
  3527. ] = "
  3528. --It 
  3529.  types
  3530. ~ol("
  3531. , dx, dy, cx, cy)
  3532. ] = "
  3533. ="ctrlsytle
  3534. ) = 9
  3535. ) = 3
  3536. a PUSHBUTTON
  3537. "DEFPUSHBUTTON
  3538. ) = 1)
  3539. ] = 1
  3540. removeButtonID("ID_OK")
  3541. ] = 2
  3542. +_CANCEL")
  3543. getValue(
  3544. K , "b" & 
  3545. ] = 129 
  3546. c"EDIT"
  3547. , dx, dy, cx, cy)
  3548. ] = "
  3549. --Has Vertical ScrollBar
  3550. ) >= 1 )
  3551. EHorizontal 
  3552. ) >= 1 )
  3553. --AutoHorizontal 
  3554. 80) >= 1 )
  3555. --AutoVertical 
  3556. 40) >= 1 )
  3557. --Password
  3558. 20) >= 1 ) 
  3559. --MulitLine
  3560. 4) >= 1 ) 
  3561. SingleLineWrap
  3562. integer only 
  3563. ", "i" & 
  3564. P#,"e" & 
  3565. allignment
  3566. 2) >= 1
  3567. 1) >= 1
  3568. "STATIC"
  3569. 3) = 3
  3570. , dx, dy, cx, cy)
  3571. ] = "
  3572. j$, "h" & 
  3573. targetBook 
  3574. 8"&"E&
  3575. oldSys = 
  3576. isObject(IT)
  3577. , dx, dy, cx, cy)
  3578. ] = "
  3579. ) >= 1
  3580. 2) >= 1
  3581. 1) >= 1
  3582. &,"s" & 
  3583. ] = 131 
  3584. ] = "
  3585. l("listbox", dx, dy, cx, cy) 
  3586. ] = "
  3587. --assume single 
  3588. --ExtendSelect
  3589. 800) >= 1
  3590. --MulitSelect
  3591. B    8) >= 1
  3592. --Sort
  3593.     2) >= 1 )
  3594. ',"l" & 
  3595. ] = 133 
  3596. ] = "
  3597. , dx, dy, cx, cy) 
  3598. ] = "
  3599. ) >= 1 ) 
  3600. 256) >= 1 )
  3601. editable 
  3602. 1) >= 1 )
  3603. (,"c" & 
  3604. ] = "
  3605. , dx, dy, cx, cy)
  3606. ] = "
  3607. ), "p" & 
  3608. ] = "
  3609. , dx, dy, cx, cy)
  3610. ] = "
  3611. ), "h" & 
  3612. , dx, dy, cx, cy)
  3613. ] = "
  3614.             toggle = 
  3615.             --Check 
  3616. beginning 
  3617. ) >= 1
  3618. t.         
  3619. makeGroup 
  3620.             -- If 
  3621. w.signifies 
  3622.             -- 
  3623. another 
  3624. ='made 
  3625. i = 1 
  3626. frequently 
  3627. signify 
  3628. --so 
  3629. denoted 
  3630. unless 
  3631. x, y, 
  3632. |/, height
  3633. ZPOINT upperLeft, lowerRight
  3634.  = dlgUnitsToPageUnits(x, y)
  3635. s(x + 
  3636. /, y + 
  3637. "TEMP"
  3638. + 100, 
  3639. - 60 
  3640. - 150, 
  3641. + 195
  3642. label
  3643. groupboxScript 
  3644. "ToolPalette"
  3645. "singleSelect"
  3646. useWindowsColors 
  3647. m.Place Holder"
  3648. RECTANGLE
  3649. WHITE
  3650. icon 
  3651. holder"
  3652. "DrawItem"&&
  3653. &&"failed"
  3654. manage 
  3655. s4grouping 
  3656. tempSel 
  3657. ) < 2
  3658. --This handler keeps the status fields 
  3659. ToolBar 
  3660. -buttons on 
  3661.  enabled state current 
  3662. --sets 
  3663. Xbar 
  3664. _currently selected 
  3665. selectionChanged
  3666. 4OBJECT s_dialogWindow
  3667. ZARRAY STRING ctrlProperties[5]
  3668. 9electedControl
  3669. -ControlName
  3670. isOpen 
  3671. duplicate, bring 
  3672. front, 
  3673. toolbar
  3674. "ItemSelected" 
  3675. a multiple 
  3676. selectedControl = 
  3677. will have a controlProperties userProperty 
  3678. pageUnitsToDlgUnits(
  3679. controlPosition 
  3680. controlSize 
  3681.  = "<Untitled>"
  3682. statusBar 
  3683. 1] && 
  3684. --disable 
  3685. FALSE
  3686. xPos 
  3687. , yPos 
  3688. --calculate 
  3689. Dialog 
  3690. --includes 
  3691. Kbut 
  3692. frame width.
  3693. clientSize 
  3694.  DIV 
  3695. sysPageUnitsPerPixel
  3696. frameWidth 
  3697. pixelsToDlgUnits(
  3698. dialogName 
  3699.  = "<
  3700. "DIALOG" && 
  3701. B"showDialog" 
  3702. ) > 0)
  3703. --controls 
  3704. %well 
  3705. %converts 
  3706. drawn 
  3707. custom, groupbox, bitmap,
  3708. icon 
  3709. correct 
  3710. array tells
  3711. editor functions 
  3712. create 
  3713.  templates.
  3714. Celements are:
  3715. [1] = 
  3716. Type        - internal 
  3717. [2] = 
  3718. ID            - 
  3719. {ID except 
  3720. pushButtons
  3721. [3] = 
  3722. Text        - 
  3723. [4] = 
  3724. Style bits    - values depend on 
  3725.  class
  3726. [5] = 
  3727. Class        - actual 
  3728. 4LOGICAL s_dirty
  3729. 4s_undoFlag
  3730.     --don't want 
  3731. zanything 
  3732. copying 
  3733.     --suspend 
  3734. 4messages so creating 
  3735. doesn't
  3736. more makes
  3737.     sysSuspendMessages = 
  3738. , we 
  3739. ><> "
  3740. useWindowsColors 
  3741. drawDirect 
  3742.             --If a 
  3743. gets 
  3744.  type
  3745. lockScreen 
  3746. so we can find 
  3747. "TEMP"
  3748.  place holder
  3749. selectedTool 
  3750. "ToolPalette" 
  3751. "Bitmap 
  3752. Place Holder"
  3753. excludeTab 
  3754.     1] = "BITMAP"
  3755. 2] = 
  3756.  = "TBKDLGBitmap"
  3757. newObj = 
  3758. "             
  3759. normalGraphic 
  3760. (32 * 
  3761. l),(32 * 
  3762. 1] = "ICON"
  3763. 2] = 
  3764. 3] = "comment"
  3765.  = "130"
  3766. a groupBox    
  3767. + 70, 
  3768. - 70 
  3769. - 150, 
  3770. + 195
  3771. label
  3772. "GROUP BOX"
  3773. groupboxScript 
  3774. 1] = "GROUPBOX"
  3775. 2] = 
  3776. 3] = 
  3777.  = "128"
  3778. "Custom 
  3779. 1] = "
  3780. ctrlproperties[2] = 
  3781. "radioButton"
  3782. 1] = "BUTTON"
  3783. 2] = 
  3784. 3] = 
  3785. --style 
  3786.  defPushButton, 
  3787. 4] = "
  3788.  = "128"
  3789. 1] = "
  3790. 2] = 
  3791. 3] = 
  3792. 4] = "
  3793.  = "128"
  3794. 1] = "
  3795. 2] = 
  3796. 3] = 
  3797. 4] = "
  3798.  = "128"
  3799. fieldType 
  3800. x"singleSelect"
  3801. 1] = "EDIT"
  3802. 2] = 
  3803. 3] = 
  3804.  vScroll, hScroll, auto 
  3805. Password, integerOnly
  3806. 4] = "
  3807.  = "129"
  3808. singleLineWrap
  3809. 1] = "STATIC"
  3810. 2] = 
  3811. 3] = 
  3812.  = "130"
  3813. 1] = "LISTBOX"
  3814. 2] = 
  3815. 3] = 
  3816. , extendSelect, multiselect, 
  3817. 4] = "
  3818.  = "131"
  3819. >= "combobox"
  3820. 1] = "COMBOBOX"
  3821. 2] = 
  3822. 3] = 
  3823.  = "133"
  3824.         --If 
  3825. >already has 
  3826. duplicated 
  3827. pasted 
  3828.         --we need 
  3829. update its ID 
  3830. 2] = 
  3831. ^that 
  3832. used 
  3833.     --on 
  3834. toolBar 
  3835. menuItemEnabled("
  3836. "Toolbar") 
  3837.  = "Undo"
  3838.  = "Cannot 
  3839. preview 
  3840. ) > 0)
  3841.  sure 
  3842. each 
  3843. even 
  3844.  unit
  3845. moved
  3846. ystem 
  3847. moving 
  3848. another 
  3849.  per DialogUnit 
  3850. down 
  3851. nearest
  3852. DlgUnitsToPageUnits(1, 1)
  3853.     dx = 
  3854.     dy = 
  3855.     x = 
  3856.     y = 
  3857. (x / dx) * dx, 
  3858. (y / dy) * dy
  3859.     --on 
  3860. sized
  3861. hight, 
  3862. itself
  3863. (1, 1)
  3864.     dx = 
  3865.     dy = 
  3866.     x = 
  3867.     y = 
  3868. (x / dx) * dx
  3869. (x / dx) * dx, 
  3870. (y / dy) * dy
  3871.     --on 
  3872. updates 
  3873. delete 
  3874.     --Put 
  3875. was ID_OK 
  3876. ID_CANCEL
  3877. PUSHBUTTON
  3878. 2] = 1
  3879. addButtonID("
  3880. 2] = 2
  3881. removed 
  3882. Xthings
  3883.     --on 
  3884. --KLUDGE
  3885. --If 
  3886. shut 
  3887. gone so checking
  3888. cause 
  3889. Turn 
  3890. ES off 
  3891. --End 
  3892. ) > 0)
  3893. dlg_saveDialogas
  3894. dlg_disableBringCloser
  3895. dlg_bringCloser
  3896. dlg_DisableSendFarther
  3897. dlg_sendFarther
  3898. dlg_disableshowDialog
  3899. dlg_showDialog
  3900. dlg_disableSendToBack
  3901. dlg_SendToBack
  3902. dlg_DisableBringToFront
  3903. dlg_BringToFront
  3904. dlg_disableDuplicate
  3905. dlg_duplicate
  3906. dlg_disableUndo
  3907. dlg_undo
  3908. dlg_character
  3909. dlg_properties
  3910. dlg_saveDialog
  3911. dlg_openDialog
  3912. dlg_button
  3913. dlg_groupBox
  3914. dlg_select
  3915. dlg_icon
  3916. dlg_combobox
  3917. dlg_singleSelectlistbox
  3918. dlg_bitmap
  3919. dlg_borderlessfield
  3920. dlg_field
  3921. dlg_radiobutton
  3922. dlg_checkbox
  3923. dlg_custom
  3924. wwwwwwwwww
  3925. wwwwwwwwww
  3926. wwwwwwwwww
  3927. wwwwwwwwww
  3928. wwwwwwwwww?Fwwx
  3929. wwwwp
  3930. UUUUUUUUUU
  3931. UUUUUUUUUU
  3932. UUUUUUUUUU
  3933. UUUUUU
  3934. UUUUU
  3935. UUUUU
  3936. UUUU^
  3937. UUUUU
  3938. UUUUUUUUUU
  3939. UUUUUUUUUU
  3940. UUUUUUUUUU
  3941. UUUUUUUUUU
  3942. UUUUUUUUUU
  3943. UUUUUU
  3944. UUUUUU
  3945. UUUUU
  3946. UUPUU
  3947. UUUUP
  3948. UUUUU
  3949. UUUUUUUUUU
  3950. UUUUUUUUUU
  3951. UUUUUUUUUU
  3952. UUUUUUUUUU
  3953. UUUUUUU
  3954. UUUUUU^
  3955. UUUUUU
  3956. UUUUUUUUUU
  3957. UUUUUUUUUU
  3958. UUUUUUUUUU
  3959. UUUUUUUUUU
  3960. UUUUUUUUUU
  3961. UUUUUUP
  3962. UUUUUU
  3963. UUUUUU
  3964. UUUUUU
  3965. UUUUUUUUUU
  3966. wwwwwwwwww
  3967. wwwwwww
  3968. xwwwx
  3969. wwxwwwx
  3970. wxxxwwx
  3971. wwwwwww
  3972. wwwwww
  3973. wwwwwwwwww
  3974. wwwwwwwwww
  3975. wwwwwww
  3976. pwwwp
  3977. wwpwwwp
  3978. wwwwwww
  3979. wwwwwwwwww
  3980. UUUUUUUUUU
  3981. UUUUUUUUUU
  3982. UUUUUUUUUU
  3983. UUUUUUU
  3984. UUUUUU^
  3985. UUUUUU
  3986. UUUUU^
  3987. UUUUU
  3988. UUUUUU
  3989. UUUUUU
  3990. UUUUUUUUUU
  3991. UUUUUUUUUU
  3992. UUUUUUUUUU
  3993. UUUUUUUUUU
  3994. UUUUUUUUUU
  3995. UUUUUUP
  3996. UUUUUU
  3997. UUUUUP
  3998. UUUUUP
  3999. UUUUU
  4000. UUUUUU
  4001. UUUUUU
  4002. UUUUUUUUUU
  4003. UUUUUUUUUU
  4004. UUUUUUUUUU
  4005. UUUUUUUUUU
  4006. UUUUUU
  4007. UUUUU
  4008. UUUUU
  4009. UUUUU
  4010. UUUUU^
  4011. UUUUUU
  4012. UUUUUU^UUU
  4013. UUUUUUUUUU
  4014. UUUUUUUUUU
  4015. UUUUUUUUUU
  4016. UUUUUUUUUU
  4017. UUUUUUUUUU
  4018. UUUUUU
  4019. UUUUUU
  4020. UUUUU
  4021. UUUUU
  4022. UUUUUP
  4023. UUUUUU
  4024. UUUUUUPUUU
  4025. UUUUUUUUUU
  4026. UUUUUUUUUU
  4027. UUUUUUUUUU
  4028. UUUUUUUUUU
  4029. UUUUUUUUUU
  4030. UUUUUU
  4031. UUUUU^
  4032. UUUU_
  4033. UUUUU
  4034. UUUUUU
  4035. UUUUUUUUUU
  4036. UUUUUUUUUU
  4037. UUUUUUUUUU
  4038. UUUUUUUUUU
  4039. UUUUUUUUUU
  4040. UUUUUUUUUU
  4041. UUUUUU
  4042. UUUUUP
  4043. UUUU^
  4044. UUUUU
  4045. UUUUU
  4046. UUUUUUUUUU
  4047. UUUUUUUUUU
  4048. UUUUUUUUUU
  4049. UUUUUUUUUU
  4050. U^UUU^
  4051. UUU_U
  4052. UUUUUUUUUU
  4053. UUUUUUUUUU
  4054. ffffffffff
  4055. ffffffffff
  4056. ffffffffff
  4057. ffffffffff
  4058. fofffo
  4059. ffffffffff
  4060. ffffffffff
  4061. ffffffffff
  4062. ffffffffff
  4063. ffffffffff
  4064. ffffffffff
  4065. ffffffffff
  4066. ffffffffff
  4067. ffffffffff
  4068. ffff`
  4069. ffffo
  4070. fffff
  4071. ffffffffff
  4072. ffffffffff
  4073. UUUUUUUUUU
  4074. UUUUUUUUUU
  4075. UUUUUUUUUU
  4076. UUUUUUUUUU
  4077. UUUUUUUUUU
  4078. UUUUUUUUUU
  4079. UUUUUUUU
  4080. PPUUUUUUUU
  4081. PPUUUUUUUU
  4082. UPUUUUUUUU
  4083. UUUUUUUUUU
  4084. wwwwwwwwww
  4085. wwwwwwwwww
  4086. wwwwwwwwww
  4087. wwwwwwwwww
  4088. wwwwwwwwww
  4089. wwwwwwwwww
  4090. wwwwwwwwww
  4091. UUUUUUUUUU
  4092. UUUUUUUUUU
  4093. UUUUUUUUUU
  4094. UUUUUUUUUU
  4095. UUUUUUUUUU
  4096. UUUUUUUP
  4097. UUUUU
  4098. UUUUUP
  4099. UUUUUUUUUU
  4100. UUUUUUUUUU
  4101. wwwwwwwwww
  4102. wwwwwwwwww
  4103. wwwwwwwwwwftwwwwwwwwww
  4104. wwwwwx
  4105. wwwwwx
  4106. wwwwwwwwww
  4107. wwwwwwwwww
  4108. wwwwwwwwww0
  4109. wwwwwwwwww
  4110. wwwwwwwwww
  4111. uswpwwwwwww
  4112. wpwwwwwww
  4113. Ewpwwwwwww
  4114. wpwwwwwww
  4115. wpwwwwwww
  4116. Cawpwwwwwww
  4117. wpwwwwwww
  4118. wpwwwwwww
  4119. wpwwwwwww
  4120. CTwpwwwwwww
  4121. mawpwwwwwww
  4122. ngwpwwwwwww
  4123. u wpwwwwwww
  4124. vewpw
  4125. wwwwwwwwww
  4126. wwwwwwwwww
  4127. wwwwwwwwwwe wwwwwwwwwwchwwwwwp
  4128. www ywwwww
  4129. www swwwww
  4130. wwwt wwp
  4131. wwwww
  4132. wwwww
  4133. wwwwww
  4134. wwwwww
  4135. wwwwwwwwww
  4136. wwwwwwwwww
  4137. wwwwwwwwww
  4138. wwwwwwwwww
  4139. wwwtDDGwwwftwwtDDDDGww
  4140. wwDDDDDDww
  4141. DGwSOwtDDO
  4142. DDGwHOwDDDO
  4143. wDDDO
  4144. wDDDO
  4145. wDDDO
  4146. DDDwIPwDDDO
  4147. DwDDD
  4148. wDDDDDDDDwADwtDDO
  4149. wwtDO
  4150. DGwwG
  4151. wwwtDDGwwwPTwwwwwwwwww
  4152. wwwwwwwwww
  4153. wwwwwwwwww
  4154. wwwwwwwwww
  4155. wwwwwwwwww
  4156. wwwwwwwwww
  4157. wwwwwwwwww
  4158. wwwwwwwwww
  4159. wwwwwwwwww
  4160. wwwwwwwwww
  4161. wwwwwwwwww
  4162. wwwwwwwwww
  4163. wwwwwwwwww
  4164. wwwwwwwwww
  4165. wwwwwwwwww
  4166. wwwwwwwwww
  4167. wwwwwwwwww
  4168. wwwwwwwwww
  4169. wwwqw
  4170. wwwqq
  4171. wwwww
  4172. wwwwqwwwww
  4173. wwwwwwwwww
  4174. wwwwwwwwww
  4175. wwwwwwwwww
  4176. wwwwwwwwww
  4177. wwwwwwwwww
  4178. wwwwwwwwww
  4179. wwwwwwwwww
  4180. wwwwwwwwww
  4181. wwwwwwwwww
  4182. wwwwwwwwww
  4183. wwwwwwwwww
  4184. wwwwwwwwww
  4185. wwwwwwwwww
  4186. wwwwwwwwww
  4187. wwwwx
  4188. wwwpwwpwww
  4189. wwwwwwwwww
  4190. wwwwwwwwww
  4191. wwwwwwwwww
  4192. wwwwwwwwww
  4193. wwwwwwwwww
  4194. wwwwwwwwwwftww
  4195. wppwwwpp
  4196. wpwpwpwp
  4197. w %wpww
  4198. witwpwwpwwp
  4199. wpwpwpwp
  4200. wngwppwwwpp
  4201. wwwwwwwwww
  4202. wwwwwwwwww
  4203. wwwwwwwwww
  4204. wwwwwwwwww
  4205. wwusww
  4206. wwwwwwwwww
  4207. wCawp
  4208. wCTwp
  4209. wmawp
  4210. wngwp
  4211. wu wp
  4212. wvewp
  4213. whawp
  4214. wwwwwwwwww
  4215. wwwwwwwwww
  4216. wwwwwwwwww
  4217. Dlg_MyAppIcon
  4218. Dlg_MyAppIcon
  4219. s_Browse
  4220. rightbuttonDown
  4221. )2))-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)2)-)2)-)2$2)$2)$2)))-)2--2-)--)--)-)--)--)-)--2-1)-)-1)--)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)-)------1-----1-----1-----1-----1-----1-----1-----1)22222))2222)22222))2222
  4222. \2.22.22.22.22.22.22.22.22-1--1--1--1--1--1--1--1--1-.22.2.22.22.22.2.22.2.22.22.22.22.22.22.22.22.22.22.22.22.22.22.12.22.222.1.2-2.1.2-2.1.2-2.1.2-2.1.2-22-2.1.2-2.12.1.1.1.-2-.1.-2-.2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2..2.
  4223. ##\BBGBBGBBGBBGBBGBBGBBGBBGBBGBBGBBGBBGBBABBABBABBABBABBABBGBHAHBGBHAHBGBHAHBGBHAHBGBHAHBGBHAHBGBHAHBGHGHGHGHGHGHGHGHGBGBGBGBGBGHBBHBBHBBBBHBBHGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBGABGABGABGABGABGABGABGAB
  4224. \AHABGBAHABGBAHABGBAHABGBAHABGBAHABGBAHABGBAHABGBAHAAHAAHAAHAAHAAHAAHAAHAAHAABAABAABAABAABAABAABAABAABAABGABGABGABGABGABAABABABGBAHABGBAHABGBAHABGBAHABGBAHABGBAHABGBAHABGBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBHBBHBHBBHBBHBBHBBHBHBHBHBHBHBHBHBHBHBHBHBH
  4225. #$#$#$#$
  4226. \\\'''''''''''    
  4227. 524480,21,25,25,247,166,,,Edit Properties,8,MS Sans Serif,,5.00,41.00,73.00,47.00,4848,1342177287,128,Justification,0,,6.00,24.00,34.00,12.00,253,1342177280,130,Layer,0,,95.00,24.00,38.00,12.00,254,1342177280,130,Control ID:,0,,6.00,7.00,24.00,12.00,252,1342177280,130,Name,0,,93.00,37.00,55.00,9.00,6115,1342177280,130,Initial Text,0,,137.00,24.00,25.00,8.00,240,1342177280,130,ID,0,,45.00,6.00,127.00,12.00,235,1350631552,129,,0,,45.00,23.00,20.00,12.00,245,1350631552,129,,0,,21.00,50.00,25.00,12.00,255,1342177289,128,&Left,0,,21.00,61.00,34.00,12.00,265,1342177289,128,&Center,0,,21.00,71.00,31.00,12.00,260,1342177289,128,&Right,0,,94.00,47.00,85.00,61.00,250,1352728708,129,,0,,6.00,100.00,75.00,10.00,205,1342242819,128,&Vertical Scrollbar,0,,6.00,112.00,76.00,10.00,210,1342242819,128,&Horizontal Scrollbar,0,,6.00,124.00,76.00,10.00,215,1342242819,128,&Auto vertical scroll,0,password,6.00,136.00,51.00,10.00,2814,1342242819,128,&Password,0,,98.00,113.00,74.00,10.00,220,1342242819,128,&No Word Wrap,0,,98.00,124.00,57.00,10.00,225,1342242819,128,&Integer Only,0,,98.00,136.00,51.00,10.00,200,1342242819,128,&Multiline,0,,189.00,6.00,51.00,15.00,1,1342242817,128,OK,0,,189.00,24.00,51.00,15.00,2,1342242816,128,Cancel,0
  4228. iew the dialog
  4229. helpText
  4230. Position
  4231. controlPosition
  4232. controlPosition 
  4233. value
  4234. Position of selected controlCCCCCCC8BC8BC8CCCCCCCCCCCCCCCCCCCCCCCCCC
  4235. ''''''''''''''''
  4236. \221221221221221221221221221221221221221222-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-121212121212121212221222122212221222122212221222122212221222122212221222122212212121212121212121212121212122122122122122122122122122122122122122122122122122122122122122122122122122122122122122
  4237. \212222222222222222222222222222222222222222222222222222222222222222222222221222122212221222122212221222121212121212121222122512512512512512512512512515215215215215215215215215215215215215215215215215215215215215215215215215215215215215215215215215215215255255252222222255255255255255255255255255
  4238. \1221221221221221221221221221221221222121212121212121212121212121212121212121212121212121212121212122222222222222221212121212121212121212121212121212121212121212121212121212121222222222222222222222222222212212212212212212212212212212212212212212212212212212212212212212212212212212212212212
  4239. \222212212212212212212212222522522522522121212122522222121212222121212121212121212121212121212121212121222222222222222121212222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222212222222222222222222222222222222222222222
  4240. \\\--,--,--,--,\KDKKDKKDKKDKKDKKDKKDKKDKKDKKDKKDKKDKKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPKPZPPPPPPPPPPPPPPPPPPPZPPPPPZPOPPPZPPPPPZPPPPPZPPPPPZPPPPPZPPPPJZJPJZJZJPJZJZJPJZJPJPJZJPJKKKKKKKKKKKKKKKVKKVKKVKKVKKVKKVKKVKKVKKVKKVKKVKKVKKVKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKV
  4241. -1--1--1--1--1--1--\KKVKKVKKVKKVKKVKKVKKVKKVKKOJPJOKOJPJOKOPPOPPPOKOJPJPJPPPOPPKPVPPP[PPPZPPP[PPPZPPP[PPPZPPP[PPPZPPP[PPPPOVJZJK[KVPVKZJPO[OPOKKZKVPVK[JVOVKZJVOVK[JVOKVOVJZKVPVKPKKPKKPKKPVKPVK[KVPVKZKVPVK[KVPVKZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZK[KZKVPVPVK[KVPVPVKZKVPVPVK[KVPVPVKZK[KVPVK
  4242. (1.1-2-1.1-2-1)(
  4243. \\\121121121121\ZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVZVVKVVVVVVVVVVVVVVVVVVVKVVVVVKVVVVVKVVVVVKVVVVVKVVVVVKVVVVVKVVVVZKPVPKZKPVPKZKPVPKZKPVPKZKPVVVVVVVVVVVVVVVKVVKVVKVVKVVKVVKVVKVVKVVKVVKVVKVVKVVKVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
  4244. 1111111111111111111\VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKPPKPPJPOKOPJPVKVKVKVJKCKJDJKDKKDJKDKKDJKDKKDJKDKKCKJDJVCVJTJVCVJTJVCKJDJKCKJDJKCKJDJKCKJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJKCKCKJDJKCKCKJDJKCKCKJDJKCKCKJDJDJKCKJ
  4245. (-'-(,(-'-(,(-'-
  4246. \75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75@75A57@75A57@75A5@75@75@7@57@57@57@57@57@57@57@57@57@57@57@7@7@7@7@7@7@7@7@7A5A7@7A5A7@75A57@75A57@7@7A5A7@7A5A7@7A5A7@7A5A7@7A5A7@7A5A7@7A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A55@5
  4247. \5@5@2@5@5@25@55@55@55@55@55@55@55@55@55@55@55@55@55?55@55?7@?AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA7AA5A@7@A5A@7@A5@A7AA7AA7AA7AA7AA7AA7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7AAA7AAA7AAA7AAA7AAA7AAA7AAA7AAAA7AA7A
  4248. \2222222222222222222222222222222222222222222222222252222222222222222222222222222252222222222222222222222222222222222222222222222222222222222225222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222522
  4249. \522552522552252252252252252252252252252252252252252552252552522?22?22?22?22?22?22?22?22?22?22?22?22?22?22?22514241514241514241514211514211514211514214241514261516241714261514241514241514241514242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424151424
  4250. \7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B7B8A8B7B8A8B7B8A8B7B8A8B7B8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8B7B8A8B7B8A8B78A8A8A8A87B78A87B78A87B78A87B78A87B78A87B78A87B78A87B7B7B78A87B78A87B78A87B78A87B78A87B78A8A87B7B78A87B78A87B78A87B78A87B78A8A87B78A87B78A87B78A87B78A87B778
  4251. \77877877877B78A87B78A87B78A87B78A87B78A87B78A87B78A77B78A77BABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABAABABABAABAABAABAABAABAABAABAABAABAABAABAABA7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8A7B7A8AABAABA
  4252. \AAAAAAAAAA@A@AA@AA@AA@AA@AA@AA@AA@AA@AA@AA@AA@AA@AAA@AAA@AAAA@AAA@AAAA@AAA@AAAA@A@AAA@A@AAA@A@A@AA@A@AA@A@A@AA@A@A@AA@AA@AAAA@AAA@AAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAA@AA@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@A@AAAAAAAAA@AAAAAAAAAAAAAAAAAAAAA@A
  4253. \AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAABAAAAABAAAAABAAAAAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAAB
  4254. \--------)>)2))>)2>))>)2>))>)2>))>)2>))>)2>))>)2>))>)>)>))>))>))>))>))>))>))>))>)>)2)>)>)2)>)>)2)>)>)2)>)>)2)>)>)2>))>)))>))>))>))>))>)1)2-))-)2-))-2)1)2-))-22)22-22))2-22)22-22))2-22)22-22-2)2-))2))-)2))2-))2))-)2))2-))2))-)2))2-))2-))2))-)2))2-))2))-)2))2-)2)2-2))2)-2)22)-)2))2-2))2)-2)2
  4255. \.2.2.22)2-222222222222222222222222222222222222222)222222222)2222222222222.222222222222222222222222222222222222222222222222222222222222222222222222222222222.22.2.2.2.2.2.2.22.2.2.2.2.2.2.2.2.22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222121212
  4256. \\\111111111111\VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVKVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVPJVPJVPJVPJVPJVPJVPJVPPVOPVOPVPPJZOKZPJZOKZPJZOKZPJZOKZPJZOKZPJZOKZPJZPZVZZVZZVZZVZZVZZVZZVZZVZZVZZVZZVZZVZZVZZZVZZVZZVZZVZZVZZVZZVZZVZZVZZOZVZOVZOVZOVZOVZOVZOVZOVZOVZOVZ
  4257. 12)12)12)12)12)12)1\OVZOV[JZVO[ZK[KZK[PZP[PZPP[PPPPZPPP[PPPZPPP[PPPZP[PPOZP[PZO[PZP[PZP[PZP[PVPPZPP[KVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVJVKVKVJVKVKVJVKVKVJVKVKVJKVKVKVKVKVKVKVKKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKVKJVJVJVJVJVJVJVJVJVJVJKJVJKJVJVJKJVJVJKJVJVJKJVJVJKJVJVJKJVJVJKJVJVJKJVJVJKJVKTVDV
  4258. 10-01'10-01'-0(0
  4259. \\\1)1)-)1)-)1)\OVOKOVOPOVOKOZOKOVOPOVOKOZOKOVOPOVOKOZOKOVOKZKOVOKKTJVDVKTJVDVKTJVDVKTJVDVKTJKVCKVJVKTKVKVKTJVJVJTJVJVJTJVJVJTJVJTJVCVJDVJDVJDVJDVJDVJDVJDVJVDVKTKVDVKTKVDVKTKVDVKTKVDVKTKVDVKTKVDVKTKVDVKTKVJKPJKOJKPJKOJKPJKOJKPJKOJKPJKOJKPJKOJKPJKJOKKOKJOKKOKJOKKOKJOKKOKJOJKKKOKKOKKOKKOKKOKKOKKOKKOKKOKKOK
  4260. )--)--)--)--)--)--)\KOKKOKPJPKJKJPJPJKJKJKJKJVJKJVJKJVJKJVJKJVJKJVJKJKJVKJJJJJKKJKJKJKJKJJJJKOJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJKJJJJJKJJJJJKJJJJJKJJJJJVJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJKJKJKJKJKJKJKJKJKJKJVJKJVJKJKJVJKJKJVJKJKJVJKJKJVJKJKJVJKJKJVJKJKJVJKJKJVJKJKJKJK
  4261. -(-(---(-(-1(--1
  4262. \555555555555555555555555555555555555555555525555525555525555525555525555525555555552525252555555555555555555555555555555555555555555555555555?25?25@22@25@22@25@22@25@22@25@22@25@22@25@22@25@22@25@22@25@22@25@22@25@22@25@22@25@22@2@5?25?55?25?55?25?55?25?55?2?52?52?52?52?52?52?52?52?52?52?
  4263. \52?522522@25?525?5?5?5?5?5?7?5?7?5?7?5?7?5?7?5?7?7?2@7@5A5?7?7?7?7?7@7@?57A5A7@7A5A7@7A5A7@7A5A7@7A5A7@7A5A7@7A5A7@7A5A7@7A5A7?7A5A7?7A5A7?7A5A7?7A5A7?7A5A7?5A7@7A5A7@7A5@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7@7A5@7@7A5@7@7A5@7@7
  4264. CControlBar
  4265. CView
  4266. CFrameWnd
  4267. CStatic
  4268. CScrollBar
  4269. CEdit
  4270. CComboBox
  4271. CListBox
  4272. CButton
  4273. PPPPh
  4274. uk&9G ue
  4275. &9D t
  4276. &9G u
  4277. &9G u
  4278. u7&9W u1R
  4279. PVPVPV
  4280. _0F9v
  4281. &9W t
  4282. &9W u
  4283. D>&9D<t'&
  4284. D>&9D<t
  4285. D>&9D<t
  4286. D.QPj
  4287. Ht*Hu
  4288. CPalette
  4289. CBitmap
  4290. CFont
  4291. CBrush
  4292. CGdiObject
  4293. CPaintDC
  4294. CWindowDC
  4295. CClientDC
  4296. CUserException
  4297. CResourceException
  4298. combobox
  4299. PreviewPages
  4300. Settings
  4301. File%d
  4302. Recent File List
  4303. RegisterPenApp
  4304. D&u8h
  4305. [open("
  4306. CNotSupportedException
  4307. CMemoryException
  4308. CException
  4309. CMapWordToPtr
  4310. tX<"t$<\t
  4311. t'<"t
  4312. t^<"t'<\t
  4313. t*<"t
  4314. s_dialogWindow
  4315. select
  4316. setCursor
  4317. ToolPalette
  4318. selectedTool
  4319. openWindow
  4320. .'+    +F
  4321. setCursor
  4322. s_CurrentCursor
  4323. setCursor
  4324. groupbox
  4325. custom
  4326. lastRecTool
  4327. bitmap
  4328. ToolPalette
  4329. selectedTool
  4330. invertedButton
  4331. toolpalette
  4332. toolPalette
  4333. selectedTool
  4334. toggleState
  4335. setCursor
  4336. rightButtonDown
  4337. initViewer
  4338. closeWindow
  4339. .'+    +F
  4340. setCursor
  4341. s_CurrentCursor
  4342. setCursor
  4343. toggleState
  4344. s_controlState
  4345. ToolBar
  4346. controlState
  4347. +++Er
  4348. dlgUndo
  4349. Paste
  4350. s_dialogWindow
  4351. Return to Editor
  4352. Browse
  4353. Re&do
  4354. group
  4355. BuildViewer
  4356. clear
  4357. DeleteControl
  4358.     undoFlag
  4359. saveDialogAs
  4360. clearDialog
  4361. CopyControl
  4362. Cannot Undo
  4363. PasteControl
  4364. controlProperties
  4365. AlignControls
  4366. ShowDialog
  4367. &Group
  4368. CutControl
  4369. s_Browse
  4370. saveDialog
  4371. &Undo
  4372. buildViewer
  4373. Un&group
  4374. Ctrl+G
  4375. deleteControl
  4376. Edit Editor
  4377. Ctrl+Z
  4378. PreviewDialog
  4379. control
  4380. Control
  4381. build
  4382. ControlProperties
  4383. GroupControls
  4384. enterMenu
  4385. +++Er
  4386. +++Er
  4387. +++Er
  4388. +++Er
  4389. +++Er
  4390. +++Er
  4391. +++Er
  4392. +++Er
  4393. +++Er
  4394. +++Er
  4395. +++Er
  4396. DlgUndo
  4397. s_dialogWindow
  4398. AlignRight
  4399. deleteControl
  4400.     undoFlag
  4401. CopyControl
  4402. AlignLeft
  4403. PasteControl
  4404. Alignbottom
  4405. CutControl
  4406. s_Browse
  4407. Browse
  4408. Preview3D
  4409. AlignTop
  4410. browse
  4411. ControlProperties
  4412. GroupControls
  4413. menuItemSelected
  4414. +++:;
  4415. s_dialogWindow
  4416. initViewer
  4417. ToolPalette
  4418. ToolBar
  4419. openWindow
  4420. showDialog
  4421. Toolbar
  4422. ToolBar
  4423. enterWindow
  4424. FALSE
  4425. clearDialog
  4426. checkSave
  4427. closeWindow
  4428. s_dialogWindow
  4429. s_frameWidth
  4430. WMkeyUp
  4431. WMKeyDown
  4432. setCursor
  4433. rightButtonDown
  4434. WMkeyDown
  4435. properties
  4436. initViewer
  4437. LastRecTool
  4438. rectangle
  4439. ToolPalette
  4440. setCursor
  4441. button, radioButton, checkbox, borderlessField, field, singleSelectListbox, combobox
  4442. s_CurrentCursor
  4443. setCursor
  4444. browse
  4445. s_Browse
  4446. Browse
  4447. menuItemSelected
  4448. +++Er
  4449. r    ;    >
  4450. +++Er
  4451. s_dialogWindow
  4452. dialogFrame
  4453. Toolbar
  4454. sized
  4455. .isChild
  4456. ,toggleInvert
  4457. [ebuttonPressed
  4458. buttonUp
  4459. \ebuttonPressed
  4460. ,toggleInvert
  4461. buttonDown
  4462. .isChild
  4463. ,toggleInvert
  4464. buttonStillDown
  4465. invertedButton
  4466. thePage
  4467. invertedButton
  4468. oldInvertedButton
  4469. ToolPalette
  4470. toggleInvert
  4471. FALSE
  4472. group
  4473. isChild
  4474. ToolBar
  4475. Toolbar
  4476. Draws a
  4477. statusbar
  4478. mouseEnter
  4479. ToolBar
  4480. Toolbar
  4481. statusbar
  4482. mouseLeave
  4483. colorTray
  4484. lineEndsPalette
  4485. polygonPalette
  4486. linePalette
  4487. patternPalette
  4488. &noldState
  4489. ToolPalette
  4490. ToolBar
  4491. enterBackground
  4492. colorTray
  4493. lineEndsPalette
  4494. polygonPalette
  4495. linePalette
  4496. patternPalette
  4497. ToolPalette
  4498. ToolBar
  4499. %noldState
  4500. leaveBackground
  4501. +++Er
  4502. s_dialogWindow
  4503. toggleState
  4504. button
  4505. Button
  4506. buttonClick
  4507. dlgUndo
  4508. showDialog
  4509. Toolbar
  4510. ToolBar
  4511. +++Er
  4512. s_dialogWindow
  4513. WMKeyDown
  4514. keyDown
  4515. +++Er
  4516. s_dialogWindow
  4517. YWMKeyUp
  4518. keyUp
  4519. yhelpText
  4520. statusBar
  4521. mouseEnter
  4522. statusBar
  4523. mouseLeave
  4524. dlgBox
  4525. s_dialogWindow
  4526. button
  4527. dlgInit
  4528. 8dlgInit
  4529. dlgBox
  4530. buildItems
  4531. buildFrame
  4532. paste
  4533. .',    #>
  4534. w,    #>
  4535. w,    #>
  4536. s_dialogWindow
  4537. fontName
  4538. pixelsToDlgUnits
  4539. s_DialogTemplate
  4540. fontPtSize
  4541. buildDialogHeader
  4542. .'+    +F
  4543. .'+    +F
  4544. ,"J    Y
  4545. +    ,    /
  4546. +    ,    /
  4547. +    ,    /
  4548. +    ,    /
  4549. +    ,    /
  4550. ,"J@Y
  4551. +    ,    /
  4552. +    ,    /
  4553. ,"J Y
  4554. +    ,    /
  4555. +    ,    /
  4556. +    ,    /
  4557. +    ,    /
  4558. Only 100 dialog controls are allowed.  If you proceed,
  4559. ypageUnitsToDlgUnits
  4560. CUSTOM
  4561. xSize
  4562. rectangle
  4563. &addDialogItem
  4564. group
  4565. groupObjects
  4566. iedit
  4567. ctrlStyle
  4568. center
  4569. ctrlText
  4570. FALSE
  4571. LISTBOX
  4572. Y%controlProperties
  4573. radiobutton
  4574. BUTTON
  4575. ySize
  4576. s_DialogTemplate
  4577. currentControl
  4578. Continue
  4579. Cancel
  4580. s_dialogWindow
  4581. ]wsgroup
  4582. COMBOBOX
  4583. checkbox
  4584. all controls above layer 101 will be ignored.
  4585. ]wsgroup
  4586. &Continue
  4587. WordWrap
  4588. right
  4589. BITMAP
  4590. controlProperties
  4591. TBKDLGBitmap
  4592. class
  4593. WS_VISIBLECHILD
  4594. pushbutton
  4595. static
  4596. initValue
  4597. s_InitialValues
  4598. GROUPBOX
  4599. buildDialogItems
  4600. 1,    #>
  4601. 1,    #>
  4602. CUSTOM
  4603. BITMAP
  4604. s_InitialValues
  4605. s_DialogTemplate
  4606. addDialogItem
  4607. .'+    +F
  4608. .'+    +F
  4609. buildItems
  4610. s_InitialValues
  4611. s_DialogTemplate
  4612. buildFrame
  4613. buildfromVar
  4614. +++Er
  4615. s_dialogWindow
  4616. dlgUnitsToPixels
  4617. buildFrame
  4618. +++Er
  4619. ,&H.&
  4620. .',    "
  4621. +    ,    /
  4622. +    ,    #>
  4623. +    ,    /
  4624. +    ,    /
  4625. +    ,    /
  4626. +    ,    /
  4627. +    ,    /
  4628. +    ,    /
  4629. +    ,    /
  4630. +    ,    #>
  4631. +    ,    /
  4632. +    ,    #>
  4633. +    ,    /
  4634. .',    "
  4635. +    ,    #>
  4636. w,    #>
  4637. +    ,    #>
  4638. +    ,    /
  4639. +    ,    /
  4640. +    ,    /
  4641. +    ,    /
  4642. +    ,    /
  4643. +    ,    /
  4644. +    ,    #>
  4645. +    ,    #>
  4646. +    ,    #>
  4647. w,    #>
  4648. +    ,    #>
  4649. w,    #>
  4650. kgetValue
  4651. s_dialogWindow
  4652. groupItems
  4653. removeButtonID
  4654. of book
  4655. Z%controlProperties
  4656. STATIC
  4657. scrollbar
  4658. dontMakeGroup
  4659. newObj
  4660. COMBOBOX
  4661. ID_OK
  4662. BITMAP
  4663. ID_CANCEL
  4664. makeGroup
  4665. TBKDLGBitmap
  4666. FALSE
  4667. CUSTOM
  4668. targetBook
  4669. drawControl
  4670. inGroup
  4671. makeLastGroup
  4672. toggle
  4673. radiobutton
  4674. BUTTON
  4675. LISTBOX
  4676. listbox
  4677. GROUPBOX
  4678. buildItems
  4679. +++Er
  4680. 1,"J<Y
  4681. 1,"JdY
  4682. DrawItem
  4683. s_dialogWindow
  4684. ydlgUnitsToPageUnits
  4685. CUSTOM
  4686. STATIC
  4687. COMBOBOX
  4688. Bitmap Control Place Holder
  4689. BITMAP
  4690. Custom control Place holder
  4691. ToolPalette
  4692. LISTBOX
  4693. GROUP BOX
  4694. failed
  4695. groupboxScript
  4696. GROUPBOX
  4697. drawControl
  4698. groupItems
  4699. dontMakeGroup
  4700. FALSE
  4701. tempSel
  4702. makeGroup
  4703. +++Er
  4704. s_dialogWindow
  4705. ypageUnitsToDlgUnits
  4706. ItemSelected
  4707. dialogName
  4708. <Untitled>
  4709. position
  4710. controlSize
  4711. controlProperties
  4712. showDialog
  4713. ToolBar
  4714. Y%controlProperties
  4715. controlPosition
  4716. DIALOG
  4717. pixelsToDlgUnits
  4718. statusBar
  4719. selectionChanged
  4720. 1,"JFY
  4721. 1,"JFY
  4722. BUTTON
  4723. Custom Control Place Holder
  4724. STATIC
  4725. newObj
  4726. singleSelect
  4727. button
  4728. Bitmap Control Place Holder
  4729. TRUE,FALSE,FALSE,FALSE
  4730. rectangle
  4731. ToolPalette
  4732. Y%controlProperties
  4733. GROUP BOX
  4734. ToolBar
  4735. comment
  4736. LISTBOX
  4737. field
  4738. FALSE,
  4739. s_dialogWindow
  4740. Cannot Undo
  4741. checkbox
  4742. Z%controlProperties
  4743. FALSE,FALSE
  4744. radioButton
  4745. COMBOBOX
  4746. showDialog
  4747. BITMAP
  4748. s_dirty
  4749. groupBox
  4750. controlProperties
  4751. TBKDLGBitmap
  4752. Custom
  4753. Toolbar
  4754. combobox
  4755. bitmap
  4756. FALSE,FALSE,FALSE,FALSE,FALSE,FALSE
  4757.     s_undoFlag
  4758. groupboxScript
  4759. GROUPBOX
  4760. selectedTool
  4761. custom
  4762. Cannot Undo
  4763. s_dirty
  4764. Toolbar
  4765. yDlgUnitsToPageUnits
  4766.     s_undoFlag
  4767. moved
  4768. Cannot Undo
  4769. s_dirty
  4770. Toolbar
  4771. yDlgUnitsToPageUnits
  4772.     s_undoFlag
  4773. sized
  4774. Cannot Undo
  4775. PUSHBUTTON
  4776. ID_OK
  4777. ID_CANCEL
  4778. showDialog
  4779. Toolbar
  4780. s_dirty
  4781. Y%controlProperties
  4782. addButtonID
  4783. ToolBar
  4784.     s_undoFlag
  4785. destroy
  4786. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  4787. wwwwp
  4788. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww{
  4789. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  4790. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  4791. wwwwwwwwwwwwp
  4792. wwwwwwp
  4793. wwwwpwwwwwww
  4794. wwwwwwwwwwwpwwwwwww
  4795. wphhhhhhh
  4796. wwwww
  4797. wwwpwwwwwww
  4798. wwwwwwwwpwwwwwww
  4799. wwpwwwwpwwwwp
  4800. wwwwwwwwwwwwwwwp
  4801. wwwwwwwpwwwwwww
  4802. wphhhhhhh
  4803. wwwww
  4804. hhhhh
  4805. wwpwwwwwww
  4806. wwwwwwpwwwwwww
  4807. wpwwwwwwpwwp
  4808. wwpwwwwwww
  4809. wwwwwpwwwwwww
  4810. wphhhhhhh
  4811. wpwwwwwwpwwphhhhhh`wwpwwwwwww
  4812. wwwpww
  4813. wwwwp
  4814. wwwwpwwwwwww
  4815. wpwwwwwwpwwp
  4816. wwpwwwwwww
  4817. wwwww
  4818. wwwww
  4819. wwwpwwwwwww
  4820. wphhhhhhh
  4821. wpwwwwwwpwwphhhhhh`wwwwwwwwwwwwwwww
  4822. wwwwww
  4823. wwwwww
  4824. wwpwwwwwww
  4825. wwwww
  4826. wwpwwwwwww
  4827. wwwww
  4828. wwwwww
  4829. wwwwwwww
  4830. wwpwwwwwww
  4831. wphhhhhhh
  4832. wwpwwwwpwwwwphhhh`wwwpwwwwwww
  4833. wwwww
  4834. wwwwwwp
  4835. wwwwwwwwwwwwpwwwwwww
  4836. wwwww
  4837. wwwww
  4838. wwwwwww
  4839. ppwwwwwwwwwwwwwp
  4840. wwwwwww
  4841. wwwwwwwwwwwwwwwwww
  4842. wwwwwww
  4843. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  4844. wwwwwwwx
  4845. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  4846. wwwwwwwwwx
  4847. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  4848. &File
  4849. &New    Ctrl+N
  4850. &Open From...
  4851. &Current Book...
  4852. &Other Book...
  4853. &File...
  4854. &Save    Ctrl+S
  4855. Save &As...
  4856. Icon In &Current Book...
  4857. Icon In &Other Book...
  4858. &File...
  4859. E&xit    Alt+F4
  4860. &Edit
  4861. &Undo    Ctrl+Z
  4862. Cu&t    Ctrl+X
  4863. &Copy    Ctrl+C
  4864. &Paste    Ctrl+V
  4865. C&lear    Del
  4866. Select &All
  4867. &View
  4868. Zoom &In
  4869. Zoom &Out
  4870. &Tool Bar
  4871. &Status Bar
  4872. &Grid
  4873. &Options
  4874. &Small Brush (1x1)
  4875. &Medium Brush (2x2)
  4876. &Large Brush (3x3)
  4877. Pick Up &Color
  4878. &Test Icon
  4879. &Help
  4880. &Contents    F1
  4881. &About Icon/Cursor Editor...
  4882. New Icon/Cursor
  4883. MS Sans Serif
  4884. &Cursor
  4885. &Icon
  4886. Colors
  4887. &B&&W
  4888. Cancel
  4889. &Help
  4890. Cut selected area to Clipboard
  4891. Copy selected area to Clipboard
  4892. Paste contents of Clipboard
  4893. Clear selected area
  4894. Undo last tool or operation
  4895. Use small brush
  4896. Use medium brush
  4897. Use large brush
  4898. Hide or show grid
  4899. Zoom in on image
  4900. Zoom out on image
  4901. Set cursor hot spot
  4902. Test cursor
  4903. Pick up color
  4904. Inverse
  4905. Right
  4906. Screen
  4907. Select left or right color
  4908. Select screen or inverse color
  4909. Available:
  4910. Undo To:
  4911. ICO    Test icon
  4912. Icon/Cursor_Editor
  4913. Icon/Cursor Editor
  4914. Selection tool
  4915. Brush tool    Fill tool    Line tool
  4916. Rectangle tool
  4917. Filled rectangle tool
  4918. Ellipse tool
  4919. Filled ellipse tool
  4920. ICEC_FRAME
  4921. Cursor In &Current Book...
  4922. Cursor In &Other Book...
  4923. Icon In &Current Book...
  4924. Icon In &Other Book...
  4925. &Save    Ctrl+S
  4926. &Update    Ctrl+S
  4927. Pick Up &Color
  4928. &Palette Options...
  4929. Set &Hot Spot
  4930. &Test Cursor
  4931. &Test Icon
  4932. Invalid icon resource!
  4933. Invalid cursor resource!
  4934. Initialization failure!
  4935. Out of local memory.&Unable to lock or unlock local memory.
  4936. :Unable to allocate recource!
  4937. Close other windows and retry
  4938. Another instance of the Icon/Cursor Editor is already
  4939. running.  Please com_
  4940.